diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-21 00:42:06 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-21 00:42:06 -0400 |
commit | aec84f53952315ac1bd91036e37113d9cb3a303b (patch) | |
tree | c14c6c1a134a245094506dad430c951493b2eeed /ChangeLog | |
parent | 34a9094f49241ebb72084c536cf468fd51ebe3ec (diff) | |
download | glibc-aec84f53952315ac1bd91036e37113d9cb3a303b.tar.gz |
Set stream errors in more cases
Also avoid unnecessarily setting errno when testing for TTY.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2011-05-21 Ulrich Drepper <drepper@gmail.com> + + [BZ #12792] + * libio/filedoalloc.c (local_isatty): New function. + (_IO_file_doallocate): Use local_isatty. + * stdio-common/perror.c (perror): In case a new stream is used + forward the stream error. + * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set + error flag. + 2011-05-20 Ulrich Drepper <drepper@gmail.com> [BZ #11869] |