matz / zetabits.com (Yukihiro Matsumoto) writes: [...] > |irb(main):002:0> Dir.entries("/SRPMS").size > |1117 > > and > > |irb(main):004:0> Dir["/SRPMS/*"] > |[] Yep. I tried the others ways to show that glibc's glob seems to act "as expected". > It must be a bug. But I'm not exactly sure how to regenerate the > problem. Could you tell me the link situation in detail? There's no black magic AFAIK: /SRPMS is a symlink to another directory. [gc@obiwan ~] ln -s /usr/bin testruby [gc@obiwan ~] irb irb(main):001:0> Dir.entries("testruby").size 1130 irb(main):002:0> Dir["testruby/*"].size 0 irb(main):003:0> -- Guillaume Cottenceau - http://mandrakesoft.com/~gc/