diff options
Diffstat (limited to 'io')
-rw-r--r-- | io/fstat.c | 3 | ||||
-rw-r--r-- | io/fstat64.c | 1 | ||||
-rw-r--r-- | io/fts.c | 2 | ||||
-rw-r--r-- | io/ftw.c | 2 | ||||
-rw-r--r-- | io/ftwtest-sh | 3 | ||||
-rw-r--r-- | io/getdirname.c | 2 | ||||
-rw-r--r-- | io/lstat.c | 3 | ||||
-rw-r--r-- | io/lstat64.c | 1 | ||||
-rw-r--r-- | io/stat.c | 3 | ||||
-rw-r--r-- | io/stat64.c | 1 |
10 files changed, 13 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef fstat int __fstat (int fd, struct stat *buf) { diff --git a/io/fstat64.c b/io/fstat64.c index 376a262..2d677a1 100644 --- a/io/fstat64.c +++ b/io/fstat64.c @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef fstat64 int fstat64 (int fd, struct stat64 *buf) { @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)fts.c 8.2 (Berkeley) 1/2/94"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> -#include <sys/stat.h> +#include <include/sys/stat.h> #include <fcntl.h> #include <dirent.h> #include <errno.h> @@ -26,7 +26,7 @@ #include <string.h> #include <unistd.h> #include <sys/param.h> -#include <sys/stat.h> +#include <include/sys/stat.h> /* #define NDEBUG 1 */ #include <assert.h> diff --git a/io/ftwtest-sh b/io/ftwtest-sh index 508c850..0ae6ecd 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -108,8 +108,7 @@ LD_LIBRARY_PATH=$objpfx $ldso $testprogram --chdir $tmpdir | sort > $testout # perhaps $tmp involves some symlinks... -pwdprogram=`which pwd` -tmpreal=`( cd $tmp ; $pwdprogram )` +tmpreal=`cd $tmp; /bin/pwd 2>/dev/null || /usr/bin/pwd` cat <<EOF | cmp $testout - || exit 1 base = "$tmp/", file = "ftwtest.d", flag = FTW_D, cwd = $tmpreal, level = 0 diff --git a/io/getdirname.c b/io/getdirname.c index 6823faf..cc6dd95 100644 --- a/io/getdirname.c +++ b/io/getdirname.c @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ #include <unistd.h> -#include <sys/stat.h> +#include <include/sys/stat.h> #include <stdlib.h> #include <string.h> @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef lstat int __lstat (const char *file, struct stat *buf) { diff --git a/io/lstat64.c b/io/lstat64.c index ef2b156..079b3fa 100644 --- a/io/lstat64.c +++ b/io/lstat64.c @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef lstat64 int lstat64 (const char *file, struct stat64 *buf) { @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef stat int __stat (const char *file, struct stat *buf) { diff --git a/io/stat64.c b/io/stat64.c index 09eb38a..16b0b11 100644 --- a/io/stat64.c +++ b/io/stat64.c @@ -36,6 +36,7 @@ functions in the shared library can adapt without needing to recompile all callers. */ +#undef stat64 int stat64 (const char *file, struct stat64 *buf) { |