aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)Author
2011-10-26Remove mention of open_obstack_stream, which has never existed in libio.Roland McGrath
2011-10-15Avoid warning in iofwideUlrich Drepper
2011-09-09Don't lock string streams in stream cleanup codeUlrich Drepper
2011-08-20Fix fopen (non-existing-file, "re") errnoAndreas Jaeger
2011-07-23Define SEEK_DATA and SEEK_HOLEUlrich Drepper
2011-05-21Set stream errors in more casesUlrich Drepper
Also avoid unnecessarily setting errno when testing for TTY.
2011-05-19Cleanup namespace use.Ulrich Drepper
2011-05-17Fix fileops.c build for old kernelsH.J. Lu
2011-05-15Fix a few problems in fopen and freopenUlrich Drepper
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 Drepper
The last change left a variable in some situations uninitialized.
2011-05-13Fix error messages in test.Ulrich Drepper
2011-05-13Fix file descriptor position after fcloseUlrich Drepper
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 Blake
2011-04-22Remove doubled words.Jim Meyering
2011-04-01Fix typos in comments.Ulrich Drepper
2011-03-04Optimize fmemopen a bit.Ulrich Drepper
2011-03-04Don't read past end of buffer in fmemopenAndreas Schwab
2010-09-05Remove undefined operationsAndreas Schwab
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek
This patch fixes some cases which fail to parse with C++.
2010-02-24Fix reporting of I/O errors in *dprintf functions.Ulrich Drepper
2010-01-10Fix standalone stdio.h inclusion.Ulrich Drepper
2009-11-19Fix getwc* and putwc* on non-wide streams.Ulrich Drepper
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper
2009-10-29Fix return value of puts for very long strings.Ulrich Drepper
2009-09-19Remove some unused variables.Roland McGrath
2009-09-02Fix fsetpos on wide stream.Andreas Schwab
2009-09-01Cleanup _IO_wfile_seekoff.Andreas Schwab
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 Schwab
2009-06-16Run tst-fgetwc with necessary envvar.Ulrich Drepper
2009-06-15(do_test): Use de_DE.UTF-8 as locale name.Bruce Dubbs
2009-06-09(_IO_new_file_fopen): Don't prematurely stop parsing mode string.Ulrich Drepper
2009-05-16remove subsumed .gitignore entries and filesJim Meyering
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering
2009-05-16remove COPYING* from .gitignore filesJim Meyering
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-25* libio/tst-widetext.input: Remove surrogates.Ulrich Drepper
2009-03-10* include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper
* 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 Drepper
open_memstream, and vdprintf are in POSIX 2008.
2009-02-05* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper
Add _tid slot to maintain consistency with kernel.
2009-02-042009-02-04 Ulrich Drepper <drepper@redhat.com>cvs/fedora-glibc-20090204T2135Ulrich Drepper
* 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 Drepper
2008-08-14[BZ #6544]Ulrich Drepper
* 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 Drepper
2008-07-27* posix/wordexp.c (exec_comm): Use pipe2 if possible to createUlrich Drepper
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 Drepper
* 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 Drepper
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2008-07-26[BZ #6771]Ulrich Drepper
* 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 Drepper
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>.
2008-05-27Remove useless more "if" tests before "free".Ulrich Drepper
* include/inline-hashtab.h (htab_delete): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * locale/programs/ld-collate.c (collate_read): Likewise. * misc/fstab.c (libc_freeres_fn): Likewise. * posix/glob.c (globfree): Likewise.