musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/ext.c
AgeCommit message (Collapse)AuthorLines
2012年06月17日change stdio_ext __freading/__fwriting semantics slightly Rich Felker-2/+2
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...
2011年06月30日fix logic in __fwriting Rich Felker-1/+1
2011年06月30日add and consolidate nasty stdio_ext junk Rich Felker-0/+57
hopefully this resolves the rest of the issues with hideously nonportable hacks in programs that use gnulib.
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 10:48:18 +0000

AltStyle によって変換されたページ (->オリジナル) /