glibc/io
Ulrich Drepper 94b7cc3711 Fix a few problems in fopen and freopen
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does
not support an aotmic operation.

freopen should reuse the file descriptor for the stream.  This is
especially important for calls to change the standard streams (stin,
stdout, stderr).
2011-05-15 15:28:46 -04:00
..
bits * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
sys Fix definition and testing of S_ISSOCK. 2010-04-04 01:51:01 -07:00
Makefile Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
Versions * Versions.def (glibc): Add GLIBC_2.9. 2008-07-25 04:51:56 +00:00
access.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
bug-ftw1.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-ftw2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-ftw3.c Update. 2002-02-07 17:54:45 +00:00
bug-ftw4.c Update. 2003-11-18 19:12:03 +00:00
bug-ftw5.c [BZ #4076] 2007-02-21 09:36:46 +00:00
chdir.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
chmod.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
chown.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
close.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
creat.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
creat64.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
dup.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
dup2.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
dup3.c Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
euidaccess.c * io/euidaccess.c: Add eaccess as an alias. 2006-01-06 11:22:10 +00:00
faccessat.c * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro. 2006-01-06 12:14:26 +00:00
fchdir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fchmod.c Remove doubled words. 2011-04-22 21:34:32 -04:00
fchmodat.c [BZ #5477] 2007-12-12 18:03:27 +00:00
fchown.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fchownat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fcntl.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fcntl.h Fix typos in comments. 2011-04-01 10:39:30 -04:00
flock.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fstat.c . 2007-07-31 13:33:18 +00:00
fstat64.c . 2007-07-31 13:33:18 +00:00
fstatat.c . 2007-07-31 13:33:18 +00:00
fstatat64.c . 2007-07-31 13:33:18 +00:00
fstatfs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fstatfs64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fstatvfs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fstatvfs64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fts.c Make sure fts_cur is always valid after return from fts_read. 2007-01-10 18:38:19 +00:00
fts.h Update. 2003-09-12 22:37:19 +00:00
ftw.c Fix file descriotor leak in nftw with FTW_CHDIR 2010-02-10 20:31:48 -08:00
ftw.h Update. 2004-09-17 08:44:34 +00:00
ftw64.c [BZ #2226] 2006-02-12 21:41:44 +00:00
ftwtest-sh 2004-01-29 Roland McGrath <roland@redhat.com> 2004-02-09 20:12:23 +00:00
ftwtest.c Update. 2003-11-07 23:00:00 +00:00
futimens.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
fxstat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fxstat64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
fxstatat.c [BZ #2226] 2006-02-12 21:41:44 +00:00
fxstatat64.c [BZ #2226] 2006-02-12 21:41:44 +00:00
getcwd.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
getdirname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
have_o_cloexec.c * io/Makefile (aux): Add have_o_cloexec. 2007-08-03 04:09:03 +00:00
isatty.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lchmod.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lchown.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
link.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
linkat.c Add fifth parameter to linkat. 2006-02-27 00:52:57 +00:00
lockf.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lockf64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lseek64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lstat.c . 2007-07-31 13:33:18 +00:00
lstat64.c . 2007-07-31 13:33:18 +00:00
lxstat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lxstat64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mkdir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mkdirat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mkfifo.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mkfifoat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mknod.c . 2007-07-31 13:33:18 +00:00
mknodat.c . 2007-07-31 13:33:18 +00:00
open.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
open64.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
openat.c * io/openat.c (__openat_2): Also pass fd to __openat. 2008-05-11 09:32:43 +00:00
openat64.c * io/openat.c (__openat_2): Also pass fd to __openat. 2008-05-11 09:32:43 +00:00
pipe.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
pipe2.c * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. 2008-07-27 18:26:13 +00:00
poll.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
poll.h initial import 1995-02-18 01:27:10 +00:00
posix_fadvise.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
posix_fadvise64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
posix_fallocate.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
posix_fallocate64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ppoll.c * include/fcntl.h: Declare __have_atfcts. 2006-01-20 07:08:05 +00:00
pwd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
read.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
readlink.c [BZ #2450] 2006-04-01 19:12:44 +00:00
readlinkat.c * posix/bits/unistd.h (__readlinkat_chk): New prototype. 2006-04-24 17:01:40 +00:00
rmdir.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sendfile.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
sendfile64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
stat.c . 2007-07-31 13:33:18 +00:00
stat64.c . 2007-07-31 13:33:18 +00:00
statfs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
statfs64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
statvfs.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
statvfs64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
symlink.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
symlinkat.c * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in 2005-12-16 00:24:16 +00:00
test-lfs.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
test-stat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-stat2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-utime.c Update. 2003-07-15 08:59:35 +00:00
tst-faccessat.c * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty 2006-01-22 00:57:24 +00:00
tst-fchmodat.c * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty 2006-01-22 00:57:24 +00:00
tst-fchownat.c * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED 2008-03-08 05:21:41 +00:00
tst-fcntl.c [BZ #2526, BZ #3138, BZ #3143] 2006-09-12 11:44:01 +00:00
tst-fstatat.c * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty 2006-01-22 00:57:24 +00:00
tst-futimesat.c * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
tst-getcwd.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-linkat.c (do_test): Pass new parameter to linkat. 2006-02-27 00:59:21 +00:00
tst-mkdirat.c * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, 2006-01-20 23:24:42 +00:00
tst-mkfifoat.c * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, 2006-01-20 23:24:42 +00:00
tst-mknodat.c * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat, 2006-01-20 23:24:42 +00:00
tst-openat.c * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty 2006-01-22 00:57:24 +00:00
tst-posix_fallocate.c Include <fcntl.h>. 2007-07-28 18:04:22 +00:00
tst-readlinkat.c * io/Makefile (tests): Add tst-symlinkat, tst-linkat, and 2006-01-20 21:55:16 +00:00
tst-renameat.c * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correcty 2006-01-22 00:57:24 +00:00
tst-statvfs.c Update. 2003-10-27 04:05:04 +00:00
tst-symlinkat.c * io/Makefile (tests): Add tst-symlinkat, tst-linkat, and 2006-01-20 21:55:16 +00:00
tst-ttyname_r.c * nis/nis_subr.c (nis_getnames): Revert last change. 2006-12-05 21:28:15 +00:00
tst-unlinkat.c * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
ttyname.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
ttyname_r.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
umask.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
unlink.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
unlinkat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
utime.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
utime.h Update. 2004-09-28 07:46:43 +00:00
utimensat.c * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and 2007-05-10 21:44:41 +00:00
write.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
xmknod.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
xmknodat.c 2005-12-15 Thomas Schwinge <tschwinge@gnu.org> 2005-12-20 07:31:14 +00:00
xstat.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
xstat64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00