Replace the 4.3BSD getdirentries compat function with something which is
commitf7e2b7380e5516dcb4c4508da98e8e4ccc949b5f
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 10 Aug 2005 17:11:45 +0000 (10 17:11 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 10 Aug 2005 17:11:45 +0000 (10 17:11 +0000)
tree8490deda3fefc08314b7191339f52cbe2bf73b6b
parentd8a6d5457c06ba3f4ffb37de14ecab2cd4651a68
Replace the 4.3BSD getdirentries compat function with something which is
much more likely to work. The old dirent is basically the on-disk format
of UFS, so the reordering done for little endian machines in ufs_readdir
is reverted here, which should also catch the native order of all other
filesystem. I'm not 100% sure if this change is correct, but the old
code was broken at best, so it shouldn't make matters worse.
sys/emulation/43bsd/43bsd_file.c