cvs commit: src/sys/emulation/43bsd 43bsd_file.c

joerg 2005/08/10 10:11:45 PDT
DragonFly src repository
Modified files:
sys/emulation/43bsd 43bsd_file.c
Log:
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.
Revision Changes Path
1.8 +68 -106 src/sys/emulation/43bsd/43bsd_file.c
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/43bsd/43bsd_file.c.diff?r1=1.7&r2=1.8&f=u