Replace the 4.3BSD getdirentries compat function with something which is
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 10 Aug 2005 17:11:45 +0000 (17:11 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 10 Aug 2005 17:11:45 +0000 (17:11 +0000)
commitcabdd8a4928f70a4273e7b45720b706db7cade66
tree57c53c5ac2e23819c5486f717977f7a9e6d4e8d1
parentc5acca8c757ae99ae19b45c888d30408cb827c11
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