From owner-cvs-sys Sun Mar 10 14:28:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24448 for cvs-sys-outgoing; Sun, 10 Mar 1996 14:28:04 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24388 Sun, 10 Mar 1996 14:27:57 -0800 (PST) Date: Sun, 10 Mar 1996 14:27:57 -0800 (PST) From: Peter Wemm Message-Id: <199603102227.OAA24388@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_file.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/03/10 14:27:57 Modified: sys/i386/linux linux_file.c Log: Fix the getdents() emulation, the Linux ELF libraries use this, and this code was not quite right (linux has a readdir and getdents syscall, with the same args. readdir only returns one entry and uses a mutant dirent structure. This code was also returning the mutant form for getdents as well. My fault for missing this before.) Revision Changes Path 1.7 +11 -3 src/sys/i386/linux/linux_file.c