From: "U.Nakamura" Date: 2014-04-26T16:34:16+09:00 Subject: [ruby-core:62171] Re: [ruby-trunk - Bug #9648] Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows Hi, In message "[ruby-core:62170] [ruby-trunk - Bug #9648] Dir.glob('../*') shows unexpected result in a symbolic linked directory on Windows" on Apr.26,2014 16:22:34, wrote: > 'ok' means it globs as if it is a real directory but not a symlink? It's too difficult for me to say it in English. C:\foo に V:\ へのsymlinkである bar (つまり C:\foo\bar) を作り、 そこに chdir した後で Dir.glob('../*') するわけですが、結果は 期待通り C:\foo の中身(V:\ でなく)を返します。 > > This problem is only with trunk. > > It doesn't glob anything, neither the parent of the symlink, or the target? 何も返しません。なお、targetである V:\ にはparentが存在しないことは 留意すべき事項かもしれません。 ちなみに、targetを適当なディレクトリ V:\baz に変更して実行すると、 なぜかtrunkでも正しい結果(C:\fooの中身)を返します。 Regards, -- U.Nakamura