mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-19 11:30:06 +00:00
5148d49f37
1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64. 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makefile (elf/ldso_install): Put back. The problem still persists. * elf/Makefile (ldso_install): Likewise. 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and create weak alias. * include/db.h: Declare __nss_db_open. * db2/Versions: Export it. * db2/makedb.c: Convert to use db2 API. * nss/nss_db/db-XXX.c: Likewise. * nss/nss_db/db-netgrp.c: Likewise. * nss/nss_db/db-alias.c: Likewise. (_nss_db_getaliasent_r): Allow retrying with a larger buffer. 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove sys_setresuid, already built automatically (or not). * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid instead of __syscall_setresuid and add back setresuid. * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of __syscall_setresuid. 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo. * libio/libioP.c (FILEBUF_LITERAL): Also initialize new _offset
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>
|