From 1e78eb0bd44caf57a234c49ff9b5193a977b6ad3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 28 Jan 2003 11:06:03 +0000 Subject: Fix scandir64 to not free the wrong pieces of memory (which could and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik --- libc/sysdeps/linux/common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/Makefile') diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index a59b0c39f..513625f1d 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/libc/sysdeps/linux/common/Makefile @@ -25,7 +25,7 @@ CSRC= waitpid.c getdnnm.c gethstnm.c getcwd.c \ cmsg_nxthdr.c longjmp.c open64.c ftruncate64.c \ truncate64.c getrlimit64.c setrlimit64.c creat64.c mmap64.c \ llseek.c pread_write.c _exit.c setuid.c sync.c getdirname.c \ - sendfile64.c xstatconv.c + sendfile64.c xstatconv.c getdents.c getdents64.c ifneq ($(strip $(EXCLUDE_BRK)),y) CSRC+=sbrk.c endif -- cgit v1.2.3