Commit Graph

6 Commits

Author SHA1 Message Date
Simon Ruderich
85699d0263 tests/example.c: Use errno = ENOMEM.
The output from errno = 0 is less portable.
2013-06-17 23:28:07 +02:00
Simon Ruderich
7adfbfd2cf Fix hook for putc_unlocked() with glibc.
putc_unlocked() is a macro which expands to __overflow() in some cases.
2013-06-13 12:59:12 +02:00
Simon Ruderich
c2097785e7 Use static list of descriptors to reduce mallocs.
Only if file descriptors with a value > 255 occur, the list
implementation is used.
2013-06-07 01:27:58 +02:00
Simon Ruderich
7108005fff tests: Use <STDERR< and >STDERR> as markers.
Increases contrast to "stderr" output string.
2013-06-02 23:41:31 +02:00
Simon Ruderich
ad50ad9c54 Hook perror(3). 2013-06-01 22:08:45 +02:00
Simon Ruderich
fb9548453f Add simple test suite. 2013-06-01 21:51:28 +02:00