Date: Sat, 4 Nov 2000 23:31:18 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_file.c Message-ID: <200011050731.XAA29575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2000/11/04 23:31:18 PST Modified files: sys/compat/linux linux_file.c Log: Fix getdents syscall. The offset field in struct dirent was set to the offset of the next dirent in rev 1.36. The offset was calculated from the current offset and the record length. This offset does not necessarily match the real offset when we are using cookies. Therefore, also use the cookies to set the offset field in struct dirent if we're using cookies to iterate through the dirents. Revision Changes Path 1.43 +5 -2 src/sys/compat/linux/linux_file.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011050731.XAA29575>