| Commit message (Expand) | Author | Age | Files | Lines |
| * | always add memory streams to stdio open file list•••per interpretation for austin group issue #626, fflush(0) and exit()
must block waiting for a lock if another thread has locked a memory
stream with flockfile. this adds some otherwise-unnecessary
synchronization cost to use of memory streams, but there was already a
synchronization cost calling malloc anyway.
previously the stream was only added to the open file list in
single-threaded programs, so that upon subsequent call to
pthread_create, locking could be turned on for the stream.
| Rich Felker | 2012-11-09 | 1 | -6/+7 |
| * | clean up stdio_impl.h•••this header evolved to facilitate the extremely lazy practice of
omitting explicit includes of the necessary headers in individual
stdio source files; not only was this sloppy, but it also increased
build time.
now, stdio_impl.h is only including the headers it needs for its own
use; any further headers needed by source files are included directly
where needed.
| Rich Felker | 2012-11-08 | 1 | -0/+3 |
| * | memstreams: fix incorrect handling of file pos > current size•••the addition is safe and cannot overflow because both operands are
positive when considered as signed quantities.
| Rich Felker | 2011-09-04 | 1 | -2/+2 |
| * | optimize seek function for memory streams | Rich Felker | 2011-09-04 | 1 | -12/+3 |
| * | fix twos complement overflow bug in mem streams boundary check•••the expression -off is not safe in case off is the most-negative
value. instead apply - to base which is known to be non-negative and
bounded within sanity.
| Rich Felker | 2011-09-04 | 1 | -1/+1 |
| * | fix some length calculations in memory streams | Rich Felker | 2011-09-03 | 1 | -1/+1 |
| * | implement open_memstream•••this is the first attempt, and may have bugs. only minimal testing has
been performed.
| Rich Felker | 2011-09-03 | 1 | -0/+94 |