[#98621] Re: Function getlogin_r()'s protoype] — Bertram Scharpf <lists@...>
FYI,
3 messages
2020/06/02
[#98947] [Ruby master Feature#16986] Anonymous Struct literal — ko1@...
Issue #16986 has been reported by ko1 (Koichi Sasada).
66 messages
2020/06/26
[#98962] [Ruby master Bug#16988] Kernel.load loads file from current directory without '.' in path — misharinn@...
Issue #16988 has been reported by TheSmartnik (Nikita Misharin).
5 messages
2020/06/26
[#98969] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings — marcandre-ruby-core@...
Issue #16994 has been reported by marcandre (Marc-Andre Lafortune).
7 messages
2020/06/26
[#100117] [Ruby master Feature#16994] Sets: shorthand for frozen sets of symbols / strings
— matz@...
2020/09/25
Issue #16994 has been updated by matz (Yukihiro Matsumoto).
[ruby-core:98908] [Ruby master Feature#16975] Warn when value from environment is being ignored by `Dir.tmpdir`
From:
deivid.rodriguez@...
Date:
2020-06-22 09:13:26 UTC
List:
ruby-core #98908
Issue #16975 has been updated by deivid (David Rodr刕uez). @nobu You are totally right, I misread the code. What we would need is indeed to split the following conditions. ---------------------------------------- Feature #16975: Warn when value from environment is being ignored by `Dir.tmpdir` https://bugs.ruby-lang.org/issues/16975#change-86289 * Author: deivid (David Rodr刕uez) * Status: Open * Priority: Normal ---------------------------------------- Currently, if you set `ENV["TMPDIR"]` to a value that doesn't meet `Dir.tmpdir` criteria to become the temporary folder, the environment variable is silently ignored and the next variable in the chain is checked. This makes issues quite hard to debug, because the temporary folder can get silently set to a value you don't expect. An example of this is: https://github.com/rubygems/rubygems/issues/3649. And I believe some failures I run into in https://github.com/ruby/ruby/pull/3211 were caused by the same issue. Would it be useful to replace the following "silent rescue" to introduce a warning when it's hit? https://github.com/ruby/tmpdir/blob/b08fec48d5cef93ea3dbaa604c9e0b833f086dae/lib/tmpdir.rb#L30 I'm happy to create a PR if this is accepted. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>