aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)AuthorFilesLines
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
2012-01-01Better gets prototype and fallout from removalUlrich Drepper1-1/+1
2012-01-01Remove gets declarationUlrich Drepper1-0/+6
2011-11-11Remove unused variablesMarek Polacek1-13/+12
2011-11-07Fix locking in _IO_flush_all_lockpAndreas Schwab1-2/+2
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.