OSDN Git Service

Avoid a fault from locking a closed standard file.
authorericb <ericb>
Wed, 22 Jul 2009 02:17:11 +0000 (02:17 +0000)
committerericb <ericb>
Wed, 22 Jul 2009 02:17:11 +0000 (02:17 +0000)
commit3d051fe528624c7dd3d86f4d4285961cbb6ecb27
tree9eed8a157f25b95b1bf1b9209624ba39d708c46f
parent0af94b3f9a4537d3a5ea9bd498628f519fe380f3
Avoid a fault from locking a closed standard file.

* libc/stdio/fflush.c (_fflush_r): Give up early if stream has
been previously closed.
newlib/ChangeLog
newlib/libc/stdio/fflush.c