glibc/libio
Ulrich Drepper 26cec518ac * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
fchownat, and unlinkat.
	(static-only-routines): Add fstatat and fstatat64.
	(tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
	and tst-fchownat.
	* io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
	and unlinkat.
	* io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
	* io/fstatat.c: New file.
	* io/fstatat64.c: New file.
	* io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
	and define fstatat and fstatat64 inline functions.
	* libio/stdio.h: Declare renameat.
	* misc/Makefile (routines): Add futimesat.
	* misc/Versions [GLIBC_2.4]: Add futimesat.
	* posix/unistd.h: Declare fchownat and unlinkat.
	* stdio-common/Makefile (routines): Add renameat.
	* stdio-common/Versions [GLIBC_2.4]: Add renameat.
	* sysdeps/generic/fchownat.c: New file.
	* sysdeps/generic/futimesat.c: New file.
	* sysdeps/generic/fxstatat.c: New file.
	* sysdeps/generic/fxstatat64.c: New file.
	* sysdeps/generic/renameat.c: New file.
	* sysdeps/generic/unlinkat.c: New file.
	* sysdeps/unix/sysv/linux/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/futimesat.c: New file.
	* sysdeps/unix/sysv/linux/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/fxstatat64.c: New file.
	* sysdeps/unix/sysv/linux/renameat.c: New file.
	* sysdeps/unix/sysv/linux/unlinkat.c: New file.
	* sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
	* time/sys/time.h: Declare futimesat.
	* include/fcntl.h: Declare __atfct_seterrno.
	* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
	Split out from openat code and called.
	(do_test): Allow openat to fail with ENOSYS.  Handle AT_FDCWD.
	* sysdeps/generic/openat.c: Handle AT_FDCWD.
	* sysdeps/generic/openat64.c: Likewise.
	* io/tst-unlinkat.c: New file.
	* io/tst-fstatat.c: New file.
	* io/tst-futimesat.c: New file.
	* io/tst-renameat.c: New file.
	* io/tst-fchownat.c: New file.
	* io/tst-openat.c: Don't fail if openat is not implemented.

	* sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
	compatibility code if new kernel is guaranteed.

	* time/sys/time.h: Add a few nonnull attributes.
2005-11-11 20:02:07 +00:00
..
bits [BZ #779] 2005-03-19 00:28:51 +00:00
__fbufsize.c
__flbf.c
__fpending.c
__fpurge.c
__freadable.c
__freading.c
__fsetlocking.c
__fwritable.c
__fwriting.c
.cvsignore
Banner
bug-fopena+.c
bug-fseek.c
bug-ftell.c
bug-mmap-fflush.c
bug-rewind2.c
bug-rewind.c
bug-ungetc2.c
bug-ungetc3.c Update. 2004-11-09 07:05:27 +00:00
bug-ungetc4.c Test for ungetc bug. 2004-12-06 22:33:26 +00:00
bug-ungetc.c
bug-ungetwc1.c
bug-ungetwc2.c
bug-wfflush.c
clearerr_u.c
clearerr.c
Depend
fcloseall.c
feof_u.c
feof.c
ferror_u.c
ferror.c
filedoalloc.c
fileno.c
fileops.c [BZ #1078] 2005-09-27 19:40:49 +00:00
fmemopen.c [BZ #394] 2005-09-23 16:36:09 +00:00
fputc_u.c
fputc.c
fputwc_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fputwc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
freopen64.c
freopen.c
fseek.c
fseeko64.c
fseeko.c
ftello64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
ftello.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
fwide.c
fwprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
fwscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
genops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getc_u.c
getc.c
getchar_u.c
getchar.c
getwc_u.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getwc.c
getwchar_u.c
getwchar.c
iofclose.c [BZ #627] 2005-09-26 16:56:27 +00:00
iofdopen.c
iofflush_u.c
iofflush.c
iofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgets_u.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgets.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgetws_u.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgetws.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofopen64.c
iofopen.c
iofopncook.c [BZ #394] 2005-09-23 16:36:09 +00:00
iofputs_u.c
iofputs.c
iofputws_u.c
iofputws.c
iofread_u.c
iofread.c
iofsetpos64.c
iofsetpos.c
ioftell.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofwide.c * wcsmbs/wctob.c (wctob): Make buf array of unsigned char. 2005-03-06 04:51:37 +00:00
iofwrite_u.c
iofwrite.c
iogetdelim.c [BZ #1405] 2005-10-14 06:25:55 +00:00
iogetline.c [BZ #713] 2005-09-27 00:00:42 +00:00
iogets.c
iogetwline.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iolibio.h Update. 2004-11-27 19:32:49 +00:00
iopadn.c
iopopen.c Update. 2004-09-14 04:41:35 +00:00
ioputs.c
ioseekoff.c
ioseekpos.c Update. 2004-12-06 22:48:11 +00:00
iosetbuffer.c
iosetvbuf.c
ioungetc.c
ioungetwc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovdprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovsprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovsscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iovswscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
iowpadn.c
libio.h [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
libioP.h 2.5-18.1 2007-07-12 18:26:36 +00:00
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
memstream.c 2.5-18.1 2007-07-12 18:26:36 +00:00
obprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
oldfileops.c * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch. 2005-10-17 16:05:54 +00:00
oldiofclose.c * libio/oldiofclose.c (_IO_old_fclose): Likewise. 2005-09-26 17:02:19 +00:00
oldiofdopen.c
oldiofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofopen.c
oldiofsetpos64.c
oldiofsetpos.c
oldiopopen.c Update. 2004-09-14 04:41:35 +00:00
oldpclose.c
oldstdfiles.c Update. 2004-09-14 04:41:35 +00:00
oldtmpfile.c
pclose.c
peekc.c
putc_u.c
putc.c
putchar_u.c
putchar.c
putwc_u.c
putwc.c
putwchar_u.c
putwchar.c
rewind.c
setbuf.c
setlinebuf.c
stdfiles.c
stdio.c
stdio.h * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
strfile.h * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
strops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
swprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
swscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
test-fmemopen.c
test-freopen.c
test-freopen.sh
tst_getwc.c
tst_getwc.input
tst_putwc.c
tst_swprintf.c
tst_swscanf.c
tst_wprintf2.c
tst_wprintf.c
tst_wscanf.c
tst_wscanf.input
tst-atime.c
tst-eof.c
tst-ext.c
tst-fgetws.c
tst-fopenloc.c
tst-freopen.c
tst-mmap2-eofsync.c
tst-mmap-eofsync.c
tst-mmap-fflushsync.c
tst-mmap-offend.c
tst-mmap-setvbuf.c
tst-sscanf.c
tst-swscanf.c
tst-ungetwc1.c
tst-ungetwc2.c
tst-widetext.c
tst-widetext.input
vasprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
Versions 2.5-18.1 2007-07-12 18:26:36 +00:00
vscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vsnprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vswprintf.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
vwprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vwscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wfiledoalloc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wfileops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wgenops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wprintf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wscanf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wstrops.c 2.5-18.1 2007-07-12 18:26:36 +00:00