glibc/libio
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
__fbufsize.c
__flbf.c
__fpending.c
__fpurge.c
__freadable.c
__freading.c
__fsetlocking.c
__fwritable.c
__fwriting.c
bug-fclose1.c Fix file descriptor position after fclose 2011-05-13 21:08:45 -04:00
bug-fopena+.c
bug-fseek.c
bug-ftell.c
bug-memstream1.c
bug-mmap-fflush.c
bug-rewind2.c
bug-rewind.c
bug-ungetc2.c
bug-ungetc3.c
bug-ungetc4.c
bug-ungetc.c
bug-ungetwc1.c
bug-ungetwc2.c
bug-wfflush.c
bug-wmemstream1.c
bug-wsetpos.c Fix fsetpos on wide stream. 2009-09-02 19:45:33 -07:00
clearerr_u.c
clearerr.c
Depend
fcloseall.c
feof_u.c
feof.c
ferror_u.c
ferror.c
filedoalloc.c
fileno.c
fileops.c Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
fmemopen.c Optimize fmemopen a bit. 2011-03-04 00:49:46 -05:00
fputc_u.c
fputc.c
fputwc_u.c
fputwc.c
freopen64.c Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
freopen.c Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
fseek.c
fseeko64.c
fseeko.c
ftello64.c
ftello.c
fwide.c
fwprintf.c
fwscanf.c
genops.c
getc_u.c
getc.c
getchar_u.c
getchar.c
getwc_u.c
getwc.c
getwchar_u.c
getwchar.c
iofclose.c
iofdopen.c Remove undefined operations 2010-09-05 13:55:08 +02:00
iofflush_u.c
iofflush.c Add hidden alias for fflush. 2009-09-01 15:31:09 -07:00
iofgetpos64.c
iofgetpos.c
iofgets_u.c
iofgets.c
iofgetws_u.c
iofgetws.c
iofopen64.c
iofopen.c
iofopncook.c Remove undefined operations 2010-09-05 13:55:08 +02:00
iofputs_u.c
iofputs.c
iofputws_u.c
iofputws.c
iofread_u.c
iofread.c
iofsetpos64.c
iofsetpos.c
ioftell.c
iofwide.c
iofwrite_u.c
iofwrite.c
iogetdelim.c
iogetline.c
iogets.c
iogetwline.c
iolibio.h
iopadn.c
iopopen.c
ioputs.c Fix return value of puts for very long strings. 2009-10-29 16:03:07 -07:00
ioseekoff.c
ioseekpos.c
iosetbuffer.c
iosetvbuf.c
ioungetc.c
ioungetwc.c
iovdprintf.c Remove undefined operations 2010-09-05 13:55:08 +02:00
iovsprintf.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
iovsscanf.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
iovswscanf.c
iowpadn.c
libc_fatal.c
libio.h Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
libioP.h
Makefile Fix file descriptor position after fclose 2011-05-13 21:08:45 -04:00
memstream.c
obprintf.c
oldfileops.c Fix a few problems in fopen and freopen 2011-05-15 15:28:46 -04:00
oldiofclose.c
oldiofdopen.c Remove undefined operations 2010-09-05 13:55:08 +02:00
oldiofgetpos64.c
oldiofgetpos.c
oldiofopen.c
oldiofsetpos64.c
oldiofsetpos.c
oldiopopen.c
oldpclose.c
oldstdfiles.c
oldtmpfile.c Implement mkstemps and mkstemps64. 2009-10-30 00:11:07 -07:00
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 Fix typos in comments. 2011-04-01 10:39:30 -04:00
strfile.h * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
strops.c
swprintf.c
swscanf.c
test-fmemopen.c
test-freopen.c
test-freopen.sh
tst_getwc.c
tst_getwc.input
tst_putwc.c Fix error messages in test. 2011-05-13 21:10:29 -04:00
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-ext2.c
tst-ext.c
tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. 2009-06-15 17:27:48 -07:00
tst-fgetwc.input
tst-fgetws.c
tst-fopenloc2.c
tst-fopenloc.c
tst-freopen.c
tst-memstream1.c
tst-memstream2.c
tst-mmap2-eofsync.c
tst-mmap-eofsync.c
tst-mmap-fflushsync.c
tst-mmap-offend.c
tst-mmap-setvbuf.c
tst-popen1.c
tst-setvbuf1.c
tst-sscanf.c
tst-swscanf.c
tst-ungetwc1.c
tst-ungetwc2.c
tst-widetext.c
tst-widetext.input * libio/tst-widetext.input: Remove surrogates. 2009-04-25 08:39:43 +00:00
tst-wmemstream1.c
tst-wmemstream2.c
vasprintf.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
Versions
vscanf.c
vsnprintf.c * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): 2009-04-26 18:06:47 +00:00
vswprintf.c
vwprintf.c
vwscanf.c
wfiledoalloc.c
wfileops.c Remove doubled words. 2011-04-22 21:34:32 -04:00
wgenops.c
wmemstream.c
wprintf.c
wscanf.c
wstrops.c