mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
af58d8a273
2001-01-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/glob64.c: Moved to ... * sysdeps/gnu/glob64.c: ...here. New file.
21 lines
455 B
C
21 lines
455 B
C
#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) __xstat64 (_STAT_VER, file, buf)
|
|
|
|
#define NO_GLOB_PATTERN_P 1
|
|
|
|
#include <sysdeps/generic/glob.c>
|