On Sun, 5 Dec 2004, Holger Kiehl wrote: > Hello > > When using readdir() on a directory with many files or long file names > it can happen that it returns the same file name twice. Attached is > a program that demonstrates this. > I forgot to mention how to call the program to show the bug. This is done as follows: ./a.out 200 20 BUG: 00000000000000000061 appears twice! stat() error (testbugdir/input/00000000000000000061) : No such file or directory BUG: 00000000000000000061 appears twice! unlink() error (testbugdir/output/00000000000000000061) : No such file or directory or: ./a.out 50 61 BUG: 0000000000000000000000000000000000000000000000000000000000020 appears twice! stat() error (testbugdir/input/0000000000000000000000000000000000000000000000000000000000020) : No such file or directory BUG: 0000000000000000000000000000000000000000000000000000000000020 appears twice! unlink() error (testbugdir/output/0000000000000000000000000000000000000000000000000000000000020) : No such file or directory Holger _______________________________________________ Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users