Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid warning in iofwide | Ulrich Drepper | 2011-10-15 | 1 | -6/+5 |
| | |||||
* | Don't lock string streams in stream cleanup code | Ulrich Drepper | 2011-09-09 | 1 | -9/+9 |
| | |||||
* | Fix fopen (non-existing-file, "re") errno | Andreas Jaeger | 2011-08-20 | 1 | -13/+11 |
| | |||||
* | Define SEEK_DATA and SEEK_HOLE | Ulrich Drepper | 2011-07-23 | 1 | -2/+6 |
| | |||||
* | Set stream errors in more cases | Ulrich Drepper | 2011-05-21 | 1 | -3/+14 |
| | | | | Also avoid unnecessarily setting errno when testing for TTY. | ||||
* | Cleanup namespace use. | Ulrich Drepper | 2011-05-19 | 2 | -2/+2 |
| | |||||
* | Fix fileops.c build for old kernels | H.J. Lu | 2011-05-17 | 1 | -0/+1 |
| | |||||
* | Fix a few problems in fopen and freopen | Ulrich Drepper | 2011-05-15 | 5 | -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_it | Ulrich Drepper | 2011-05-14 | 1 | -0/+2 |
| | | | | The last change left a variable in some situations uninitialized. | ||||
* | Fix error messages in test. | Ulrich Drepper | 2011-05-13 | 1 | -4/+7 |
| | |||||
* | Fix file descriptor position after fclose | Ulrich Drepper | 2011-05-13 | 3 | -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 Blake | 2011-04-22 | 1 | -16/+16 |
| | |||||
* | Remove doubled words. | Jim Meyering | 2011-04-22 | 3 | -8/+8 |
| | |||||
* | Fix typos in comments. | Ulrich Drepper | 2011-04-01 | 1 | -7/+7 |
| | |||||
* | Optimize fmemopen a bit. | Ulrich Drepper | 2011-03-04 | 1 | -5/+6 |
| | |||||
* | Don't read past end of buffer in fmemopen | Andreas Schwab | 2011-03-04 | 1 | -2/+2 |
| | |||||
* | Remove undefined operations | Andreas Schwab | 2010-09-05 | 4 | -15/+12 |
| | |||||
* | Fix a couple of __REDIRECT () __THROW occurrences | Jakub Jelinek | 2010-06-14 | 1 | -8/+8 |
| | | | | This patch fixes some cases which fail to parse with C++. | ||||
* | Fix reporting of I/O errors in *dprintf functions. | Ulrich Drepper | 2010-02-24 | 1 | -1/+4 |
| | |||||
* | Fix standalone stdio.h inclusion. | Ulrich Drepper | 2010-01-10 | 1 | -2/+22 |
| | |||||
* | Fix getwc* and putwc* on non-wide streams. | Ulrich Drepper | 2009-11-19 | 1 | -6/+8 |
| | |||||
* | Implement mkstemps and mkstemps64. | Ulrich Drepper | 2009-10-30 | 1 | -2/+2 |
| | |||||
* | Fix return value of puts for very long strings. | Ulrich Drepper | 2009-10-29 | 1 | -2/+3 |
| | |||||
* | Remove some unused variables. | Roland McGrath | 2009-09-19 | 1 | -4/+0 |
| | |||||
* | Fix fsetpos on wide stream. | Andreas Schwab | 2009-09-02 | 3 | -36/+90 |
| | |||||
* | Cleanup _IO_wfile_seekoff. | Andreas Schwab | 2009-09-01 | 1 | -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 Schwab | 2009-09-01 | 1 | -0/+1 |
| | |||||
* | Run tst-fgetwc with necessary envvar. | Ulrich Drepper | 2009-06-16 | 1 | -0/+1 |
| | |||||
* | (do_test): Use de_DE.UTF-8 as locale name. | Bruce Dubbs | 2009-06-15 | 1 | -1/+1 |
| | |||||
* | (_IO_new_file_fopen): Don't prematurely stop parsing mode string. | Ulrich Drepper | 2009-06-09 | 1 | -3/+3 |
| | |||||
* | remove subsumed .gitignore entries and files | Jim Meyering | 2009-05-16 | 1 | -8/+0 |
| | |||||
* | remove mpn-copy.mk from .gitignore files | Jim Meyering | 2009-05-16 | 1 | -1/+1 |
| | |||||
* | remove COPYING* from .gitignore files | Jim Meyering | 2009-05-16 | 1 | -1/+1 |
| | |||||
* | rename each .cvsignore file to .gitignore | Jim Meyering | 2009-05-15 | 1 | -0/+0 |
| | |||||
* | * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): | Ulrich Drepper | 2009-04-26 | 5 | -15/+16 |
| | | | | Avoid warning by using may_alias attribute on ptrhack. | ||||
* | * libio/tst-widetext.input: Remove surrogates. | Ulrich Drepper | 2009-04-25 | 1 | -41/+0 |
| | |||||
* | * include/stdio.h (fmemopen): Add libc_hidden_proto. | Ulrich Drepper | 2009-03-10 | 1 | -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 Drepper | 2009-02-26 | 1 | -2/+6 |
| | | | | open_memstream, and vdprintf are in POSIX 2008. | ||||
* | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): | Ulrich Drepper | 2009-02-05 | 1 | -2/+22 |
| | | | | Add _tid slot to maintain consistency with kernel. | ||||
* | 2009-02-04 Ulrich Drepper <drepper@redhat.com> cvs/fedora-glibc-20090204T2135 | Ulrich Drepper | 2009-02-04 | 3 | -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 Drepper | 2009-02-04 | 1 | -0/+52 |
| | |||||
* | [BZ #6544] | Ulrich Drepper | 2008-08-14 | 1 | -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 Drepper | 2008-07-27 | 1 | -2/+2 |
| | |||||
* | * posix/wordexp.c (exec_comm): Use pipe2 if possible to create | Ulrich Drepper | 2008-07-27 | 1 | -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 Drepper | 2008-07-27 | 3 | -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 Drepper | 2008-07-27 | 1 | -1/+1 |
| | | | | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | ||||
* | [BZ #6771] | Ulrich Drepper | 2008-07-26 | 1 | -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 Drepper | 2008-07-08 | 1 | -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 Drepper | 2008-05-27 | 2 | -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 Jelinek | 2008-05-24 | 1 | -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. |