81 Commits

Author SHA1 Message Date
Sam Hocevar
38c86c28ea Add support for fortified glibc functions (__fgets_chk, __read_chk, etc.). 2010-02-27 18:17:14 +00:00
Sam Hocevar
4c6ce1350e Rename zzcat to zzat to avoid conflicts with zziplib. 2010-02-15 21:25:30 +00:00
Sam Hocevar
bc79e209f0 Preparing zzuf-0.13 release. 2010-01-31 12:25:16 +00:00
Sam Hocevar
55339f7d8a Improve the OpenSolaris port: support for FILE structures, and a few
additional defines to activate libc features.
2010-01-20 07:59:01 +00:00
Sam Hocevar
647967d366 On HP-UX, connect(), bind() etc. do not use the struct sockaddr type but
use a void pointer instead. Check for that at configure time.
2010-01-13 00:11:14 +00:00
Sam Hocevar
d02d599a1b Add a workaround for OS X ignoring RLIMIT_RSS / RLIMIT_AS and getrusage()
not filling in RSS information. After each memory allocation, we ask the
Mach for the RSS value.
2010-01-12 23:54:31 +00:00
Sam Hocevar
e88488fcf0 Properly compute SONAME using libtool variables. 2010-01-12 23:54:20 +00:00
Sam Hocevar
31ae813b8d Reorganise FILE structure autoconf tests. 2010-01-12 23:53:30 +00:00
Sam Hocevar
ecfba2614e Distribute zzcat and start writing documentation for it. 2010-01-08 01:28:02 +00:00
Sam Hocevar
bd393a72e1 Fix typos in configure.ac. 2010-01-08 01:17:17 +00:00
Sam Hocevar
5a9af3e183 Try to fix FILE structure data on FreeBSD. 2010-01-08 01:06:18 +00:00
Sam Hocevar
0d86e64a19 Generate manual pages, so we can put the version number in them. 2010-01-06 22:46:49 +00:00
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