aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2009-07-22 02:17:12 +0000
committerEric Blake <eblake@redhat.com>2009-07-22 02:17:12 +0000
commitd6438f13d10acf192955b98b3f3a3fd5948f211e (patch)
treef912d00d60ceb871d488e6c8045d4bb88bc733d7 /newlib/libc/stdio/setbuffer.c
parentdc176ff60c5d8bb316d1f012c1ae542939648ceb (diff)
downloadnewlib-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