aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)AuthorFilesLines
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-2/+1
2012-12-01[BZ #12724] libio: revert partial POSIX 2008 fclose supportMike Frysinger3-144/+4
In BZ #12724, partial support for POSIX 2008 fclose behavior was added. Since it isn't entirely conforming to the spec, some applications are known to be breaking in this intermediate state. So revert the partial support until we can get things fully implemented. This reverts commit fcabc0f8b185f9e0a9289720be5ede6c39b3bf21. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-28Make fwrite return 0 on EOFSiddhesh Poyarekar4-11/+78
2012-11-16printf should return negative value on errorSiddhesh Poyarekar4-14/+15
[BZ #11741] Fixed bug where printf and family may return a spurious success when printing padded formats.
2012-11-16Note in a comment that references to C++ bits are obsoleteSiddhesh Poyarekar1-0/+8
libio is not used by libstdc++ anymore, but there are references to streambuf are all over.
2012-11-01Change type of constant to avoid a warning.Thomas Schwinge1-1/+1
Warning has been introduced in commit 7583a88d1c7170caad26966bcea8bfc2c92093ba.
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-10-18Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.Joseph Myers9-87/+12
2012-10-10Remove _IO_pos_t.Joseph Myers1-1/+0
2012-10-09Remove _G_off64_t and _G_stat64 from _G_config.h.Joseph Myers5-8/+8
2012-09-28Don't flush write buffer for ftellSiddhesh Poyarekar2-25/+112
[BZ #5298] Use write pointer state along with the file offset and/or the read pointers to get the current file position.
2012-09-28Adjust wide data buffer pointers during fseek and ftellSiddhesh Poyarekar3-1/+234
[BZ #14543] Set the internal buffer state correctly whenever the external buffer state is modified by fseek by either computing the current _IO_read_ptr/end for the internal buffer based on the new _IO_read_ptr in the external buffer or converting the content read into the external buffer, up to the extent of the requested fseek offset.
2012-09-25Remove various _G_*_t type names.Joseph Myers2-8/+8
2012-09-25Fix minor typos in commentsSiddhesh Poyarekar1-2/+2
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2-4/+5
2012-09-21Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.Joseph Myers3-23/+0
2012-09-20Remove _G_NEED_STDARG_H.Joseph Myers1-8/+6
2012-09-17Remove _G_HAVE_IO_GETLINE_INFO.Joseph Myers2-8/+0
2012-09-13Remove _G_HAVE_PRINTF_FP.Joseph Myers1-3/+0
2012-09-10Remove _G_USING_THUNKS.Joseph Myers1-30/+12
2012-09-10Remove libio C++ vtable definitions.Joseph Myers1-24/+0
2012-09-10Run tst-fopenloc if $(build-shared) is yesH.J. Lu1-4/+14
2012-09-05Fix typos in commentsSiddhesh Poyarekar3-5/+5
* libio/fileops.c: Fix typos in comments. * libio/oldfileops.c: Likewise. * libio/wfileops.c: Likewise.
2012-09-04Fix iogetdelim.c (latent) integer overflow (bug 9914).Joseph Myers1-1/+2
2012-08-17Make libio compile without _IO_MTSAFE_IO.Roland McGrath2-0/+18
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath1-3/+3
2012-08-06Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath8-14/+65
2012-08-01Clean up fopen64 for O_LARGEFILE==0.Roland McGrath2-0/+12
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath1-2/+2
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab57-597/+516
2012-05-12Avoid dup3 PLT usage.Thomas Schwinge2-6/+6
Fixes fallout from 5aa3a74a59916b489e9cf7c4dce9eb149e106c6c.
2012-05-10Hurd: #include <kernel-features.h>Thomas Schwinge3-6/+8
2012-05-03Fix conditions on checking versions of dprintf (bug 13775).Joseph Myers2-22/+30
2012-04-29Fix attributes for fortify functions.Marek Polacek3-22/+22
2012-04-12Update comment for _io_write_fnRoland McGrath1-5/+5
[BZ #2074] * libio/libio.h (__io_write_fn): Update comment.
2012-04-11Remove __wur from fwrite, fwrite_unlockedJim Meyering1-3/+3
[BZ #11959] * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur. It is not necessarily an error to ignore fwrite's return value. One can reliably use ferror to test for errors after the fact.
2012-03-29Remove xsputn small copy optimization.David S. Miller1-15/+4
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize small copies by hand.
2012-03-09Always declare gets for C++ up to C++11 without checking __USE_GNU.Joseph Myers1-1/+1
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-4/+1
2012-02-27BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.Roland McGrath2-8/+6
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert151-453/+302
2012-02-09Remove _G_HAVE_SYS_CDEFS.Marek Polacek1-6/+1
2012-01-31Remove PARAMS macros.Marek Polacek1-5/+0
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers17-53/+22
2012-01-26Remove __STDC__ conditionals from non-installed headers.Joseph Myers1-5/+1
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers1-12/+2
2012-01-13Don't always provide definition of gets checking versionMarek Polacek1-0/+3
2012-01-07Remove pre-ISO C supportUlrich Drepper5-107/+108
No more __const.
2012-01-07Do not declare gets in _GNU_SOURCE mode at allUlrich Drepper1-1/+1
2012-01-06Fix C11 header changes for C++.Joseph Myers1-2/+5