diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-10 15:54:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-10 15:54:54 +0000 |
commit | a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317 (patch) | |
tree | ba02529e747024948875e5f6eb93c1676a9d2144 /sysdeps/unix/sysv/linux/glob64.c | |
parent | 0e94359046d83b56f1b15ff00c4b2f75499bf8c3 (diff) | |
download | glibc-a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317.tar glibc-a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317.tar.gz glibc-a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317.tar.bz2 glibc-a5f4e34a264b7cd296f8ca890ca4eaa1d0f99317.zip |
Update.
1998-08-10 15:49 Ulrich Drepper <drepper@cygnus.com>
* include/dirent.h: Protect from double inclusion.
1998-08-09 Mark Kettenis <kettenis@phys.uva.nl>
* posix/glob.h: Add LFS support for glob and globfree.
* posix/Versions [GLIBC_2.1]: Add glob64 and globfree64.
* posix/Makefile (routines): Add glob64.
* sysdeps/generic/glob64.c: New file.
* sysdeps/unix/sysv/linux/glob64.c: New file.
* sysdeps/unix/sysv/linux/alpha/glob64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: New file.
* sysdeps/generic/glob.c [_LIBC && glob] (__glob_pattern_p):
Elide function.
* sysdeps/unix/sysv/linux/alpha/glob.c: Add glob64 as a weak alias
for __new_glob. Likewise for globfree64.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: New file.
1998-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Remove
-include flag from command.
Diffstat (limited to 'sysdeps/unix/sysv/linux/glob64.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/glob64.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/glob64.c b/sysdeps/unix/sysv/linux/glob64.c new file mode 100644 index 0000000000..022ae54848 --- /dev/null +++ b/sysdeps/unix/sysv/linux/glob64.c @@ -0,0 +1,18 @@ +#include <dirent.h> +#include <glob.h> +#include <sys/stat.h> + +#define dirent dirent64 +#define __readdir(dirp) __readdir64 (dirp) + +#define glob_t glob64_t +#define glob(pattern, flags, errfunc, pglob) \ + glob64 (pattern, flags, errfunc, pglob) +#define globfree(pglob) globfree64 (pglob) + +#undef stat +#define stat stat64 +#undef __stat +#define __stat(file, buf) stat64 (file, buf) + +#include <sysdeps/generic/glob.c> |