[#115884] Windows Ruby 3.2.2: Non-English character added to Windows Registry String Value — Jay Mav via ruby-core <ruby-core@...>
Hello,
3 messages
2023/12/24
[ruby-core:115718] [Ruby master Bug#20056] Dir#chdir inconsistency with Dir.chdir
From:
"jeremyevans0 (Jeremy Evans) via ruby-core" <ruby-core@...>
Date:
2023-12-12 06:32:40 UTC
List:
ruby-core #115718
Issue #20056 has been updated by jeremyevans0 (Jeremy Evans). Tracker changed from Misc to Bug Status changed from Open to Closed Backport set to 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN Fixed by commit:f49af3c969eb7ba9937514a229b49e5b7d91f0f1 ---------------------------------------- Bug #20056: Dir#chdir inconsistency with Dir.chdir https://bugs.ruby-lang.org/issues/20056#change-105647 * Author: zverok (Victor Shepelev) * Status: Closed * Priority: Normal * Assignee: jeremyevans0 (Jeremy Evans) * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- I am not sure it is important; I just wanted to understand if this is intentional or accidental. 1. There is no block form for `Dir#chdir`, unlike `Dir.chdir` (the form that will return to the previous directory when the block is finished) 2. `Dir.chdir` returns `0`, while `Dir#chdir` returns `nil` (both seem to be not representing any particular internal value, just a hardcoded return value). -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- [email protected] To unsubscribe send an email to [email protected] ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/