[#99868] [Ruby master Bug#17144] Tempfile.open { ... } does not unlink the file — eregontp@...
Issue #17144 has been reported by Eregon (Benoit Daloze).
15 messages
2020/09/03
[ruby-core:100183] Re: [Ruby master Bug#15661] Disallow concurrent Dir.chdir with block
From:
Eric Wong <normalperson@...>
Date:
2020-09-26 21:29:18 UTC
List:
ruby-core #100183
[email protected] wrote: > Removing the block form breaks useful cases in single threaded > code. Agreed. > Fixing it "properly" (by which I assume you mean > separate pwd per thread) is impossible, as pwd is per-process, > not per-thread. openat(2) and the rest of the *at() functions are POSIX 200809, so it could be possible to mimic per-thread working dirs if the rest of File, IO, UNIXSocket, etc. were all made aware and used *at() functions. Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>