summaryrefslogtreecommitdiff
path: root/include/ruby/debug.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-25 17:14:52 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-26 15:56:28 +0900
commitdddf62426b7a384715dd558773723ecbdfa37a11 (patch)
tree1c765c52d3394c80a313d82660f63c3d99358c23 /include/ruby/debug.h
parent38e3ad267569f38336458d461791b4a1cd79b5d1 (diff)
[ruby/tempfile] 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/tempfile/commit/ac5bab8c7a
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions