Thomas Schwinge
dc70356cbf
Avoid dup3 PLT usage.
...
Fixes fallout from 5aa3a74a59
.
2012-05-12 10:53:04 +08:00
Thomas Schwinge
37233df9d1
Hurd: #include <kernel-features.h>
2012-05-10 15:57:24 -07:00
Joseph Myers
54b71e0283
Fix conditions on checking versions of dprintf (bug 13775).
2012-05-03 18:42:37 +00:00
Marek Polacek
5ac3ea17df
Fix attributes for fortify functions.
2012-04-29 15:34:20 +02:00
Roland McGrath
ec98af7d1b
Update comment for _io_write_fn
...
[BZ #2074 ]
* libio/libio.h (__io_write_fn): Update comment.
2012-04-12 21:02:00 +02:00
Jim Meyering
288f9098cb
Remove __wur from fwrite, fwrite_unlocked
...
[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-04-11 21:03:57 +02:00
David S. Miller
20fde22738
Remove xsputn small copy optimization.
...
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
small copies by hand.
2012-03-29 14:38:27 -07:00
Joseph Myers
c6e013c15e
Always declare gets for C++ up to C++11 without checking __USE_GNU.
2012-03-09 22:08:39 +00:00
Ulrich Drepper
a4300c7a4d
Remove distribute variable from Makefiles
2012-03-07 05:17:13 -05:00
Roland McGrath
36c8acb4f8
BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.
2012-02-27 14:00:47 -08:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Marek Polacek
6b73181ac5
Remove _G_HAVE_SYS_CDEFS.
2012-02-09 17:09:55 +01:00
Marek Polacek
69db4f8f46
Remove PARAMS macros.
2012-01-31 20:02:53 +00:00
Joseph Myers
c8a89e7dd5
Remove miscellaneous __STDC__ conditionals.
2012-01-30 21:20:32 +00:00
Joseph Myers
965a54a4ee
Remove __STDC__ conditionals from non-installed headers.
2012-01-26 23:31:37 +00:00
Joseph Myers
7071ad79db
Remove __STDC__ conditionals from installed headers.
2012-01-26 20:49:22 +00:00
Marek Polacek
e0a309cf2a
Don't always provide definition of gets checking version
2012-01-13 12:45:02 -05:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
c3a8723670
Do not declare gets in _GNU_SOURCE mode at all
2012-01-07 10:41:00 -05:00
Joseph Myers
8ecd6b2a12
Fix C11 header changes for C++.
2012-01-06 18:11:50 +00:00
Ulrich Drepper
16578fa7b3
Better gets prototype and fallout from removal
2012-01-01 07:17:22 -05:00
Ulrich Drepper
03a718297d
Remove gets declaration
2012-01-01 07:17:20 -05:00
Marek Polacek
aaddc98c25
Remove unused variables
2011-11-11 13:27:59 -05:00
Andreas Schwab
7583a88d1c
Fix locking in _IO_flush_all_lockp
2011-11-07 15:20:59 +01:00
Ulrich Drepper
9beb233493
Mark a few more functions with __THROWNL.
2011-10-29 15:56:44 -04:00
Roland McGrath
94d44d9f4d
Remove mention of open_obstack_stream, which has never existed in libio.
2011-10-26 16:53:02 -07:00
Ulrich Drepper
ab6737ffd0
Avoid warning in iofwide
2011-10-15 09:52:26 -04:00
Ulrich Drepper
f22e10748f
Don't lock string streams in stream cleanup code
2011-09-09 16:15:25 -04:00
Andreas Jaeger
a101b025af
Fix fopen (non-existing-file, "re") errno
2011-08-20 09:12:49 -04:00
Ulrich Drepper
798be72d12
Define SEEK_DATA and SEEK_HOLE
2011-07-23 21:45:57 -04:00
Ulrich Drepper
aec84f5395
Set stream errors in more cases
...
Also avoid unnecessarily setting errno when testing for TTY.
2011-05-21 00:42:06 -04:00
Ulrich Drepper
ed690b2f24
Cleanup namespace use.
2011-05-19 21:09:29 -04:00
H.J. Lu
0a197a9dfe
Fix fileops.c build for old kernels
2011-05-17 01:45:49 -04:00
Ulrich Drepper
94b7cc3711
Fix a few problems in fopen and freopen
...
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-15 15:28:46 -04:00
Ulrich Drepper
ca408c157c
Initialize variable in _IO_new_file_close_it
...
The last change left a variable in some situations uninitialized.
2011-05-14 10:59:54 -04:00
Ulrich Drepper
20030ae6d7
Fix error messages in test.
2011-05-13 21:10:29 -04:00
Ulrich Drepper
fcabc0f8b1
Fix file descriptor position after fclose
...
fclose should leave the file descriptor position after the last read
or written byte.
2011-05-13 21:08:45 -04:00
Eric Blake
b722481ac2
Use al possible bytes from fopen mode string.
2011-04-22 23:40:57 -04:00
Jim Meyering
ded5b9b7c7
Remove doubled words.
2011-04-22 21:34:32 -04:00
Ulrich Drepper
4c1423edfb
Fix typos in comments.
2011-04-01 10:39:30 -04:00
Ulrich Drepper
13a804de8f
Optimize fmemopen a bit.
2011-03-04 00:49:46 -05:00
Andreas Schwab
9d25c392ba
Don't read past end of buffer in fmemopen
2011-03-04 00:48:00 -05:00
Andreas Schwab
817328eea7
Remove undefined operations
2010-09-05 13:55:08 +02:00
Jakub Jelinek
f32f28695d
Fix a couple of __REDIRECT () __THROW occurrences
...
This patch fixes some cases which fail to parse with C++.
2010-06-14 08:18:26 -07:00
Ulrich Drepper
7ca890b88e
Fix reporting of I/O errors in *dprintf functions.
2010-02-24 16:07:57 -08:00
Ulrich Drepper
cd2f000c07
Fix standalone stdio.h inclusion.
2010-01-10 00:39:22 -08:00
Ulrich Drepper
df1934daa7
Fix getwc* and putwc* on non-wide streams.
2009-11-19 10:29:16 -08:00
Ulrich Drepper
7f3146e789
Implement mkstemps and mkstemps64.
2009-10-30 00:11:07 -07:00
Ulrich Drepper
cc88b371a5
Fix return value of puts for very long strings.
2009-10-29 16:03:07 -07:00
Roland McGrath
487a6d7735
Remove some unused variables.
2009-09-19 17:19:41 -07:00