On Fri, Jul 12, 2002 at 11:07:20AM -0400, Colin Walters wrote: > On Fri, 2002-07-12 at 08:31, Richard Atterer wrote: > > On Sat, Jul 06, 2002 at 11:58:39PM +0200, Richard Atterer wrote: > > > I just uploaded a new version of libwww 5.4.0 to fix #151894 and the > > > build failed on sparc and ia64 with really bizarre symptoms. > > > > I now found out that the build fails on ReiserFS, but succeeds on > > ext2! What could be causing this? > > I remember hearing somewhere that the ext filesystem internally orders > directory entries alphabetically by filename, and readdir() of course > returns them that way, while ReiserFS stores them in some sort of > special order internally, and the readdir() doesn't return sorted > entries.
directory entries are certainly not sorted in ext2. See the man page of ls: ... Sort entries alphabetically if none of -cftuSUX nor --sort. ... -f do not sort, enable -aU, disable -lst ... and try ls -f in any directory. Output isn't sorted. > Perhaps libtool (or some other program) is parsing the output of 'ls' or > something and is implicitly depending on the alphabetical ordering, > instead of piping the output to 'sort'? Mermgfurt, Oliver
msg06591/pgp00000.pgp
Description: PGP signature