about summary refs log tree commit diff
path: root/WHATSNEW
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-17 21:24:58 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-17 21:24:58 -0400
commitdeb90c79e5c498fbb48de1423df034447f330e38 (patch)
tree7320e1105670316cc579731ba4002c50803c6bfb /WHATSNEW
parent3b43d10fafd64ac0a93fab463330a936b90ec15c (diff)
downloadmusl-deb90c79e5c498fbb48de1423df034447f330e38.tar.gz
musl-deb90c79e5c498fbb48de1423df034447f330e38.tar.xz
musl-deb90c79e5c498fbb48de1423df034447f330e38.zip
change stdio_ext __freading/__fwriting semantics slightly
the old behavior was to only consider a stream to be "reading" or
"writing" if it had buffered, unread/unwritten data. this reportedly
differs from the traditional behavior of these functions, which is
essentially to return true as much as possible without creating the
possibility that both __freading and __fwriting could return true.

gnulib expects __fwriting to return true as soon as a file is opened
write-only, and possibly expects other cases that depend on the
traditional behavior. and since these functions exist mostly for
gnulib (does anything else use them??), they should match the expected
behavior to avoid even more ugly hacks and workarounds...
Diffstat (limited to 'WHATSNEW')
0 files changed, 0 insertions, 0 deletions