Commit Graph

29 Commits

Author SHA1 Message Date
Sam Hocevar
80d9efbd29 * Support fsetpos64 on Linux. 2008-07-16 23:17:12 +00:00
Sam Hocevar
7b03486164 * lib-mem.c: add pre-include macro to get getc_unlocked() on OpenSolaris. 2008-07-16 21:54:35 +00:00
Sam Hocevar
6c23cd7e29 * Another fucked commit... synchronise config.h and lib-stream.c. 2008-07-16 21:41:27 +00:00
Sam Hocevar
f9f17a64a3 * lib-stream.c: try to make the __filbuf() implementation portable across
HP-UX and OpenSolaris.
2008-07-16 21:37:12 +00:00
Sam Hocevar
36726dcced * Implement freopen64, fsetpos64 and fseeko64 for OpenSolaris. 2008-07-16 21:24:09 +00:00
Sam Hocevar
4cda0e67f5 * Fix a few HP-UX warnings caused by missing headers. 2008-07-16 17:23:29 +00:00
Sam Hocevar
3c6188a48b * Implement __srefill() for full HP-UX support on parisc-gcc. 2008-07-16 09:52:02 +00:00
Sam Hocevar
8b1f5bba2c * Implement additional functions required on HP-UX: __fopen64, __fseeko64,
__freopen64, __open64, __lseek64.
2008-07-15 20:16:11 +00:00
Sam Hocevar
2064bc7fcf * lib-stream.c: remove an unused variable. 2008-07-15 20:15:53 +00:00
Sam Hocevar
c45ecef2a9 * Implement getchar() and getchar_unlocked(). 2008-05-18 12:38:32 +00:00
Sam Hocevar
c06d381315 * Make sure the fgets_unlocked() reimplementation uses fgetc_unlocked(),
not fgetc().
2008-05-18 09:45:48 +00:00
Sam Hocevar
03cf326236 * Implement fgets_unlocked() and fread_unlocked(). 2008-05-17 23:10:47 +00:00
Sam Hocevar
8e56c6de5a * Implement getc_unlocked() and fgetc_unlocked(). 2008-05-17 23:10:41 +00:00
Sam Hocevar
7693a37ae1 * Added -p flag to cherry pick file descriptors that get fuzzed. 2007-07-06 13:40:55 +00:00
Sam Hocevar
16d1d7fa48 * Fixed a few 64-bit issues reported by MSVC.
* More Win32 portability fixes.
2007-02-01 18:19:03 +00:00
Sam Hocevar
4ee57fba0a * Check for <unistd.h>, too. MSVC doesn't have it. 2007-02-01 16:08:33 +00:00
Sam Hocevar
dc895f2511 * Print "EOF" instead of -1 when it means EOF. 2007-01-28 00:50:53 +00:00
Sam Hocevar
412784a97c * Oops, fixed syntax error. 2007-01-28 00:22:23 +00:00
Sam Hocevar
32ab6e10e2 * Better debug messages for special cases (eg. fgetc returning -1). 2007-01-28 00:21:58 +00:00
Sam Hocevar
b4fbf4c088 * Better ungetc() implementation. Now we don't need to care about the
fuzzing method.
2007-01-27 15:13:34 +00:00
Sam Hocevar
ffe8f79739 * More verbosity in fread(). 2007-01-25 15:33:22 +00:00
Sam Hocevar
b2ff2843f8 * Fixed an index inconsistency bug in fread(). 2007-01-25 15:28:24 +00:00
Sam Hocevar
e9e1a7dfe7 * Put either ORIG() or NEW(() around functions, because the naming scheme is
likely to change for the Win32 port.
2007-01-23 08:45:47 +00:00
Sam Hocevar
bfcb30f795 * Minor improvement in the locking mechanism. 2007-01-18 18:45:58 +00:00
Sam Hocevar
351b447bfa * Added enough autoconf checks and #ifdefs so that libzzuf builds on Win32.
zzuf itself doesn't build yet, though.
2007-01-18 00:21:07 +00:00
Sam Hocevar
52bdf5ff3e * Replaced _zz_disabled with a less stinky API. Still not thread safe, does
not recover very well from errors, but why care?
2007-01-17 21:52:44 +00:00
Sam Hocevar
383ef37246 * Improved %c usage in our custom fprintf() implementation. 2007-01-17 15:31:40 +00:00
Sam Hocevar
0518c124e7 * Use __func__ wherever possible. 2007-01-17 15:21:09 +00:00
Sam Hocevar
bb4cc96f00 * Moved files around. 2007-01-17 13:46:38 +00:00