69 Commits

Author SHA1 Message Date
Sam Hocevar
c9150f4458 Use fseeko64() everywhere when possible, instead of potential 32-bit versions. 2009-11-26 01:13:58 +00:00
Sam Hocevar
f1b8f58cd2 We need to know the FILE buffer's current fill status. Implemented for
glibc for now.
2009-11-24 01:25:44 +00:00
Sam Hocevar
9ec47e4193 Reimplement __uflow() under Linux. Unlocked IO now works on Linux, except
in combination with getdelim()/getline().
2009-11-23 00:27:05 +00:00
Sam Hocevar
9b0c5acea1 Add a check to __uflow(). This will hopefully help us fix the problem with
recent sed versions.
2009-11-22 18:54:43 +00:00
Sam Hocevar
48d91662df Various compilation and unit test fixes. 2009-11-20 17:38:00 +00:00
Sam Hocevar
8b64626792 Detect libzzuf soname at configure time rather than compile time. 2009-11-19 00:51:32 +00:00
Sam Hocevar
4b777d9bb7 * configure.ac: fix the __printf__ attribute macro. 2008-07-20 11:16:06 +00:00
Sam Hocevar
1fa7c66f0f * configure.ac: add a check for the __printf__ function attribute. 2008-07-20 11:11:27 +00:00
Sam Hocevar
3f43a5c034 * Implement __srget on FreeBSD, which is yet another version of __srefill. 2008-07-18 09:28:30 +00:00
Sam Hocevar
d45a5121ef * Better check for the __func__ keyword that does not rely on assumptions
about the compiler version.
2008-07-18 09:28:02 +00:00
Sam Hocevar
80d9efbd29 * Support fsetpos64 on Linux. 2008-07-16 23:17:12 +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
abeb8d87e0 * Add a few _INCLUDE_POSIX_SOURCE defines here and there so that we build
out of the box with HP-UX's c99 compiler.
2008-07-15 21:34:14 +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
b448cd4759 * Build on HP-UX systems: disable unsupported warning flags, define
_XOPEN_SOURCE_EXTENDED where appropriate, use AC_C_INLINE to avoid using
    the inline keyword when unsupported, and use #pragma INIT for library
    initialisation routines.
2008-07-15 20:16:06 +00:00
Sam Hocevar
88ddd7f4ac * configure.ac: do not use -fno-strength-reduce -fomit-frame-pointer,
they're pretty useless for our project.
2008-07-15 20:16:02 +00:00
Sam Hocevar
cacdf20050 * Fix a compilation issue on FreeBSD by defining _BSD_SOURCE and including
<sys/cdefs.h>.
2008-07-15 20:15:47 +00:00
Sam Hocevar
23271396db * Version 0.12.
* Updated NEWS and ChangeLog.
2008-06-13 09:31:21 +00:00
Sam Hocevar
bc87eaa365 * Version 0.11.
* Updated NEWS and ChangeLog.
2008-05-18 19:56:52 +00:00
Sam Hocevar
8e56c6de5a * Implement getc_unlocked() and fgetc_unlocked(). 2008-05-17 23:10:41 +00:00
Sam Hocevar
9788f1b62b * Implement dup() and dup2(). They are needed for Debian's implementation
of dd which otherwise causes the regression tests to fail.
2008-04-26 12:24:57 +00:00
Sam Hocevar
9389fc2518 * Slightly updated the build system. 2008-04-26 11:30:45 +00:00
Sam Hocevar
b86478a95e * Version 0.10.
* Updated NEWS and ChangeLog.
2007-11-03 00:24:46 +00:00
Sam Hocevar
82db9143ca * Look for connect(). 2007-11-02 23:22:11 +00:00
Sam Hocevar
b45efa5afa * Check for <netinet/in.h>, it’s needed for struct sockaddr_in. 2007-11-02 21:50:08 +00:00
Sam Hocevar
af990fc5ed * Check for bind in the configure step. 2007-11-02 21:16:57 +00:00
Sam Hocevar
4c64d4edf6 * Version 0.9.
* Updated NEWS and ChangeLog.
2007-07-10 00:24:35 +00:00
Sam Hocevar
f8514dee60 * Version 0.8.1.
* Updated NEWS and ChangeLog.
2007-03-01 23:57:14 +00:00
Sam Hocevar
e82753480b * Cleaned up md5.c.
* Do not convert words to little endian if the architecture is already
    little endian.
2007-02-24 17:37:46 +00:00
Sam Hocevar
f20e6029a4 * Version 0.8.
* Updated NEWS and ChangeLog.
2007-02-24 16:37:12 +00:00
Sam Hocevar
672817517e * Check for getpagesize() at configure time. 2007-02-19 10:26:41 +00:00
Sam Hocevar
40663274f0 * Reimplemented getopt_long. We use our replacement even if simple getopt
is available on the operating system.
2007-02-01 22:33:07 +00:00
Sam Hocevar
1c8a34708d * Fuck notepad and its fucking CRLFs. 2007-02-01 19:27:21 +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
4c58925d80 * Only include <sys/time.h> conditionally. 2007-02-01 15:57:10 +00:00
Sam Hocevar
e03887313c * Version 0.7.
* Updated NEWS and ChangeLog.
2007-01-28 01:17:49 +00:00
Sam Hocevar
19cd94ee16 * Version 0.6.1.
* Updated NEWS and ChangeLog.
2007-01-25 16:56:22 +00:00
Sam Hocevar
6b8e38ac1f * Version 0.6.
* Updated NEWS and ChangeLog.
2007-01-25 13:28:40 +00:00
Sam Hocevar
0d2e0f587f * Added DLL injection to the Win32 port attempt. 2007-01-24 15:06:17 +00:00
Sam Hocevar
760befa464 * Added DLL initialisation code for Win32. 2007-01-23 15:38:18 +00:00
Sam Hocevar
73c3d08de7 * Check recv() return type: int on Linux, ssize_t on OS X. 2007-01-18 12:32:31 +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
1a97ee7197 * Version 0.5.
* Updated NEWS and ChangeLog.
2007-01-14 23:56:39 +00:00
Sam Hocevar
aa1dc92193 * Support ranges with the -r flag. 2007-01-14 23:41:03 +00:00
Sam Hocevar
27628f1f61 * Version 0.4.
* Updated NEWS and ChangeLog.
2007-01-11 23:36:28 +00:00
Sam Hocevar
502411321c * Check for memalign and posix_memalign. 2007-01-10 17:23:23 +00:00