aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)AuthorFilesLines
2011-10-29Mark a few more functions with __THROWNL.Ulrich Drepper1-9/+9
2011-10-26Remove mention of open_obstack_stream, which has never existed in libio.Roland McGrath1-1/+1
2011-10-15Avoid warning in iofwideUlrich Drepper1-6/+5
2011-09-09Don't lock string streams in stream cleanup codeUlrich Drepper1-9/+9
2011-08-20Fix fopen (non-existing-file, "re") errnoAndreas Jaeger1-13/+11
2011-07-23Define SEEK_DATA and SEEK_HOLEUlrich Drepper1-2/+6
2011-05-21Set stream errors in more casesUlrich Drepper1-3/+14
Also avoid unnecessarily setting errno when testing for TTY.
2011-05-19Cleanup namespace use.Ulrich Drepper2-2/+2
2011-05-17Fix fileops.c build for old kernelsH.J. Lu1-0/+1
2011-05-15Fix a few problems in fopen and freopenUlrich Drepper5-37/+121
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-14Initialize variable in _IO_new_file_close_itUlrich Drepper1-0/+2
The last change left a variable in some situations uninitialized.
2011-05-13Fix error messages in test.Ulrich Drepper1-4/+7
2011-05-13Fix file descriptor position after fcloseUlrich Drepper3-8/+146
fclose should leave the file descriptor position after the last read or written byte.
2011-04-22Use al possible bytes from fopen mode string.Eric Blake1-16/+16
2011-04-22Remove doubled words.Jim Meyering3-8/+8
2011-04-01Fix typos in comments.Ulrich Drepper1-7/+7
2011-03-04Optimize fmemopen a bit.Ulrich Drepper1-5/+6
2011-03-04Don't read past end of buffer in fmemopenAndreas Schwab1-2/+2
2010-09-05Remove undefined operationsAndreas Schwab4-15/+12
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek1-8/+8
This patch fixes some cases which fail to parse with C++.
2010-02-24Fix reporting of I/O errors in *dprintf functions.Ulrich Drepper1-1/+4
2010-01-10Fix standalone stdio.h inclusion.Ulrich Drepper1-2/+22
2009-11-19Fix getwc* and putwc* on non-wide streams.Ulrich Drepper1-6/+8
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper1-2/+2
2009-10-29Fix return value of puts for very long strings.Ulrich Drepper1-2/+3
2009-09-19Remove some unused variables.Roland McGrath1-4/+0
2009-09-02Fix fsetpos on wide stream.Andreas Schwab3-36/+90
2009-09-01Cleanup _IO_wfile_seekoff.Andreas Schwab1-71/+39
This reformulates the in-buffer optimisation check to match the code in _IO_new_file_seekoff. No functional changes, but easier to understand.
2009-09-01Add hidden alias for fflush.Andreas Schwab1-0/+1
2009-06-16Run tst-fgetwc with necessary envvar.Ulrich Drepper1-0/+1
2009-06-15(do_test): Use de_DE.UTF-8 as locale name.Bruce Dubbs1-1/+1
2009-06-09(_IO_new_file_fopen): Don't prematurely stop parsing mode string.Ulrich Drepper1-3/+3
2009-05-16remove subsumed .gitignore entries and filesJim Meyering1-8/+0
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering1-1/+1
2009-05-16remove COPYING* from .gitignore filesJim Meyering1-1/+1
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper5-15/+16
Avoid warning by using may_alias attribute on ptrhack.
2009-04-25* libio/tst-widetext.input: Remove surrogates.Ulrich Drepper1-41/+0
2009-03-10* include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper1-1/+3
* libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
2009-02-26* libio/stdio.h: dprintf, fmemopen, getdelim, getline,Ulrich Drepper1-2/+6
open_memstream, and vdprintf are in POSIX 2008.
2009-02-05* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper1-2/+22
Add _tid slot to maintain consistency with kernel.
2009-02-042009-02-04 Ulrich Drepper <drepper@redhat.com>cvs/fedora-glibc-20090204T2135Ulrich Drepper3-13/+41
* libio/wfileops.c (_IO_wfile_underflow): Fix handling of incomplete characters at end of input buffer. * libio/Makefile (tests): Add tst-fgetwc. * libio/tst-fgetwc.c: New file. * libio/tst-fgetwc.input: New file.
2009-02-04Test of fgetwc on unbuffered stream.Ulrich Drepper1-0/+52
2008-08-14[BZ #6544]Ulrich Drepper1-4/+7
* libio/fmemopen.c: Implement binary mode. In this mode no NUL byte gets added to writes and seeks from the end use the length of the buffer and not the currently terminating NUL byte.
2008-07-27* libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.Ulrich Drepper1-2/+2
2008-07-27* posix/wordexp.c (exec_comm): Use pipe2 if possible to createUlrich Drepper1-0/+1
file descriptors with close-on-exec set. (exec_comm_child): Fix the case where the write end of the pipe is STDOUT_FILENO already. In case it is, clear close-on-exec.
2008-07-27* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper3-24/+144
* io/pipe2.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 instead of __ASSUME_PACCEPT. * include/unistd.h: Declare __have_pipe2. * libio/iopopen.c: Implement "e" flag. * libio/Makefile (tests): Add tst-popen1. * libio/tst-popen1.c: New file.
2008-07-27* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.Ulrich Drepper1-1/+1
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2008-07-26[BZ #6771]Ulrich Drepper1-1/+3
* libio/fileops.c (_IO_new_file_attach): Preserve errno around success call of _IO_SEEKOFF or calls which failed because the descriptor is for a pipe.
2008-07-08[BZ #6719]Ulrich Drepper1-1/+1
2008-07-08 Ulrich Drepper <drepper@redhat.com> [BZ #6719] * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags when selecting fully-buffered stream. Patch by Wang Xin <wxinee@gmail.com>.