summary refs log tree commit diff
path: root/libio
Commit message (Collapse)AuthorAgeFilesLines
* Fix fopen (non-existing-file, "re") errnoAndreas Jaeger2011-08-201-13/+11
|
* Define SEEK_DATA and SEEK_HOLEUlrich Drepper2011-07-231-2/+6
|
* Set stream errors in more casesUlrich Drepper2011-05-211-3/+14
| | | | Also avoid unnecessarily setting errno when testing for TTY.
* Cleanup namespace use.Ulrich Drepper2011-05-192-2/+2
|
* Fix fileops.c build for old kernelsH.J. Lu2011-05-171-0/+1
|
* Fix a few problems in fopen and freopenUlrich Drepper2011-05-155-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).
* Initialize variable in _IO_new_file_close_itUlrich Drepper2011-05-141-0/+2
| | | | The last change left a variable in some situations uninitialized.
* Fix error messages in test.Ulrich Drepper2011-05-131-4/+7
|
* Fix file descriptor position after fcloseUlrich Drepper2011-05-133-8/+146
| | | | | fclose should leave the file descriptor position after the last read or written byte.
* Use al possible bytes from fopen mode string.Eric Blake2011-04-221-16/+16
|
* Remove doubled words.Jim Meyering2011-04-223-8/+8
|
* Fix typos in comments.Ulrich Drepper2011-04-011-7/+7
|
* Optimize fmemopen a bit.Ulrich Drepper2011-03-041-5/+6
|
* Don't read past end of buffer in fmemopenAndreas Schwab2011-03-041-2/+2
|
* Remove undefined operationsAndreas Schwab2010-09-054-15/+12
|
* Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek2010-06-141-8/+8
| | | | This patch fixes some cases which fail to parse with C++.
* Fix reporting of I/O errors in *dprintf functions.Ulrich Drepper2010-02-241-1/+4
|
* Fix standalone stdio.h inclusion.Ulrich Drepper2010-01-101-2/+22
|
* Fix getwc* and putwc* on non-wide streams.Ulrich Drepper2009-11-191-6/+8
|
* Implement mkstemps and mkstemps64.Ulrich Drepper2009-10-301-2/+2
|
* Fix return value of puts for very long strings.Ulrich Drepper2009-10-291-2/+3
|
* Remove some unused variables.Roland McGrath2009-09-191-4/+0
|
* Fix fsetpos on wide stream.Andreas Schwab2009-09-023-36/+90
|
* Cleanup _IO_wfile_seekoff.Andreas Schwab2009-09-011-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.
* Add hidden alias for fflush.Andreas Schwab2009-09-011-0/+1
|
* Run tst-fgetwc with necessary envvar.Ulrich Drepper2009-06-161-0/+1
|
* (do_test): Use de_DE.UTF-8 as locale name.Bruce Dubbs2009-06-151-1/+1
|
* (_IO_new_file_fopen): Don't prematurely stop parsing mode string.Ulrich Drepper2009-06-091-3/+3
|
* remove subsumed .gitignore entries and filesJim Meyering2009-05-161-8/+0
|
* remove mpn-copy.mk from .gitignore filesJim Meyering2009-05-161-1/+1
|
* remove COPYING* from .gitignore filesJim Meyering2009-05-161-1/+1
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper2009-04-265-15/+16
| | | | Avoid warning by using may_alias attribute on ptrhack.
* * libio/tst-widetext.input: Remove surrogates.Ulrich Drepper2009-04-251-41/+0
|
* * include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper2009-03-101-1/+3
| | | | | | * libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
* * libio/stdio.h: dprintf, fmemopen, getdelim, getline,Ulrich Drepper2009-02-261-2/+6
| | | | open_memstream, and vdprintf are in POSIX 2008.
* * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper2009-02-051-2/+22
| | | | Add _tid slot to maintain consistency with kernel.
* 2009-02-04 Ulrich Drepper <drepper@redhat.com> cvs/fedora-glibc-20090204T2135Ulrich Drepper2009-02-043-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.
* Test of fgetwc on unbuffered stream.Ulrich Drepper2009-02-041-0/+52
|
* [BZ #6544]Ulrich Drepper2008-08-141-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.
* * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.Ulrich Drepper2008-07-271-2/+2
|
* * posix/wordexp.c (exec_comm): Use pipe2 if possible to createUlrich Drepper2008-07-271-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.
* * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper2008-07-273-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.
* * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.Ulrich Drepper2008-07-271-1/+1
| | | | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
* [BZ #6771]Ulrich Drepper2008-07-261-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.
* [BZ #6719]Ulrich Drepper2008-07-081-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>.
* Remove useless more "if" tests before "free".Ulrich Drepper2008-05-272-6/+4
| | | | | | | | | * 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.
* * libio/stdio.h (vscanf): Fix -std=c99 redirect. Jakub Jelinek2008-05-241-1/+1
| | | | | | | | | | | | | | | | | | * stdio-common/Makefile (tests): Add scanf16 and scanf17. (CFLAGS-scanf17.c): New. * stdio-common/scanf14.c (main): Add fscanf and scanf tests. * stdio-common/scanf15.c (main): Likewise. * stdio-common/scanf16.c: New test. * stdio-common/scanf17.c: New test. 2008-05-24 Jakub Jelinek <jakub@redhat.com> * libio/stdio.h (vscanf): Fix -std=c99 redirect. * stdio-common/Makefile (tests): Add scanf16 and scanf17. (CFLAGS-scanf17.c): New. * stdio-common/scanf14.c (main): Add fscanf and scanf tests. * stdio-common/scanf15.c (main): Likewise. * stdio-common/scanf16.c: New test. * stdio-common/scanf17.c: New test.
* [BZ #5998]Ulrich Drepper2008-04-092-4/+12
| | | | | | | | 2008-04-09 Ulrich Drepper <drepper@redhat.com> [BZ #5998] * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing in line-buffered stream failed. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
* Remove useless "if" before "free".Ulrich Drepper2008-03-192-4/+2
|