diff options
author | Eric Blake <eblake@redhat.com> | 2009-07-22 02:17:12 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2009-07-22 02:17:12 +0000 |
commit | d6438f13d10acf192955b98b3f3a3fd5948f211e (patch) | |
tree | f912d00d60ceb871d488e6c8045d4bb88bc733d7 /newlib/libc/stdio/setbuffer.c | |
parent | dc176ff60c5d8bb316d1f012c1ae542939648ceb (diff) | |
download | newlib-d6438f13d10acf192955b98b3f3a3fd5948f211e.zip newlib-d6438f13d10acf192955b98b3f3a3fd5948f211e.tar.gz newlib-d6438f13d10acf192955b98b3f3a3fd5948f211e.tar.bz2 |
Avoid a fault from locking a closed standard file.
* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
been previously closed.
Diffstat (limited to 'newlib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions