From: matz@... (Yukihiro Matsumoto) Date: 2001-03-23T16:27:25+09:00 Subject: [ruby-talk:13123] Re: Block form of Dir.chdir Hi, In message "[ruby-talk:13121] Block form of Dir.chdir" on 01/03/23, "Aristarkh A Zagorodnikov" writes: | Just one question - is warning "chdir during chdir block" really |neccessary? Oh, first of all, I should have mentioned that I already implemented RCR#016, so that it had to move from NeedDiscussion to RubyProper. | You save absolute path, and then just restore it ... why warn about this? For example, another thread or method invoked with in a block may change the working directory. matz.