93 Commits

Author SHA1 Message Date
Sam Hocevar
53084c70a0 misc: now that Visual Studio supports it some 15 years later, switch to C99. 2015-01-05 16:07:00 +01:00
Sam Hocevar
39f48f37d6 win32: update to newer mingw compiler version. 2014-11-05 00:23:27 +00:00
Sam Hocevar
aba365f2a5 build: remove the libcaca dependency and embed code instead. 2014-11-05 00:23:22 +00:00
Sam Hocevar
eb2f7b3fe8 build: refresh build system. 2014-11-05 00:23:17 +00:00
Sam Hocevar
ae3f5c5a31 win32: add some console handling function diversions. 2012-08-23 14:10:27 +00:00
Sam Hocevar
60a9b3a67a build: fix compilation by including <wchar.h> and checking for regwexec. 2012-08-05 12:24:53 +00:00
Sam Hocevar
177d421111 Fix a weird problem with lib6 versioned symbols. 2012-04-16 23:02:42 +00:00
Sam Hocevar
ca2d1ada85 Get rid of the getopt reimplementation and depend on libcaca instead. 2010-10-07 22:52:54 +00:00
Sam Hocevar
4c504ac53e Implement ReOpenFile and fix a few Win32 compilation warnings. 2010-10-06 22:44:47 +00:00
Sam Hocevar
2552b8cae1 Divert ReadFile() and CloseHandle(). 2010-09-22 23:38:36 +00:00
Sam Hocevar
f377a31839 Divert CreateFileW in addition to CreateFileA. 2010-09-22 22:26:44 +00:00
Sam Hocevar
6ac571b003 CreateFile() diversion proof of concept. 2010-09-22 22:06:46 +00:00
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