| Commit message (Expand) | Author | Files | Lines |
| 2012-06-19 | minor cleanup in fflush | Rich Felker | 1 | -5/+1 |
| 2012-06-19 | remove flush hook cruft that was never used from stdio•••there is no need/use for a flush hook. the write function serves this
purpose already. i originally created the hook for implementing mem
streams based on a mistaken reading of posix, and later realized it
wasn't useful but never removed it until now.
| Rich Felker | 3 | -5/+1 |
| 2012-06-18 | fix multiple iconv bugs reading utf-16/32 and wchar_t | Rich Felker | 1 | -8/+8 |
| 2012-06-18 | fix iconv dest utf-16: unavailable chars must be replaced; EILSEQ is wrong | Rich Felker | 1 | -2/+2 |
| 2012-06-18 | fix erroneous utf-16 encoding with surrogates in iconv•••apparently this was never tested before.
| Rich Felker | 1 | -0/+1 |
| 2012-06-17 | 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...
| Rich Felker | 1 | -2/+2 |
| 2012-06-17 | fdopen should set errno when it fails due to invalid mode string | Rich Felker | 1 | -1/+4 |
| 2012-06-15 | header file fixes: multiple include guard consistency and correctness•••one file was reusing another file's macro name, and many had
inconsistent underscores and application of SYS prefix, etc.
patch by Szabolcs Nagy (nsz)
| Rich Felker | 10 | -18/+18 |
| 2012-06-14 | direct syscall to open in __init_security needs O_LARGEFILE•••it probably does not matter for /dev/null, but this should be done
consistently anyway.
| Rich Felker | 1 | -1/+1 |
| 2012-06-14 | reorder exit code to defer stdio flush until after dtors•••this is required in case dtors use stdio.
also remove the old comments; one was cruft from when the code used to
be using function pointers and conditional calls, and has little
motivation now that we're using weak symbols. the other was just
complaining about having to support dtors even though the cost was
made essentially zero in the non-use case by the way it's done here.
| Rich Felker | 1 | -4/+1 |
| 2012-06-13 | revert one change in time.h; no evidence BSD_SOURCE should expose these.. | Rich Felker | 1 | -1/+1 |
| 2012-06-13 | fix feature test macros in time.h•••stime is not _XOPEN_SOURCE, and some functions were missing with
_BSD_SOURCE..
| Rich Felker | 1 | -5/+2 |
| 2012-06-13 | add timegm function (inverse of gmtime), nonstandard | Rich Felker | 2 | -0/+12 |