summaryrefslogtreecommitdiff
path: root/include/ruby/thread_native.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-25 17:14:52 +0900
committergit <svn-admin@ruby-lang.org>2024-02-25 08:32:09 +0000
commitc0c56d1714b44d30d69b51127f9c97df21322d58 (patch)
tree94dd000ffd9cd690586e96f39bcf4e98bc714c52 /include/ruby/thread_native.h
parent6108962030576ce8e5501c6b7f4e7450a5375a0a (diff)
[ruby/tmpdir] Use `IO.popen` to list files
- Redirect `git ls-files` without shelling out. - When building by `gem`, `__FILE__` is the path name given in the command line, or the gemspec file name in the current directory. In that case, comparison it and expanded path never equal. Compare listed file names with the base name of `__FILE__` instead. https://github.com/ruby/tmpdir/commit/f505e3f7cb
Diffstat (limited to 'include/ruby/thread_native.h')
0 files changed, 0 insertions, 0 deletions