From owner-cvs-all Sat Nov 4 23:31:21 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7849B37B479; Sat, 4 Nov 2000 23:31:18 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA29575; Sat, 4 Nov 2000 23:31:18 -0800 (PST) (envelope-from marcel@FreeBSD.org) Message-Id: <200011050731.XAA29575@freefall.freebsd.org> From: Marcel Moolenaar Date: Sat, 4 Nov 2000 23:31:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_file.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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