31 Commits

Author SHA1 Message Date
Simon Ruderich
545c6af1da Update copyright year 2018-02-01 21:10:46 +01:00
Simon Ruderich
8a65b4486f update copyright year 2015-08-28 12:25:36 +02:00
Simon Ruderich
502f26377e NEWS: release 0.2 2014-06-22 18:34:34 +02:00
Simon Ruderich
bcac94e353 configure.ac: fix typo in TLS error message 2014-05-16 04:50:06 +02:00
Simon Ruderich
24ead2ee7f configure.ac: warn if TLS is not available 2014-05-13 18:32:56 +02:00
Simon Ruderich
b6d1dc09b6 handle_recursive: fix race condition if threads are used
Requires thread-local storage.

Another solution would be a mutex, but this is slower and more
complicated and might cause issues with some programs.
2014-04-08 14:38:01 +02:00
Simon Ruderich
f54cd101d7 Update copyright year. 2014-01-01 16:41:01 +01:00
Simon Ruderich
045ca46e79 Hook __swbuf() on FreeBSD.
Coloring works fine now on FreeBSD (with some minor issues). Tests still
fail though.
2013-06-20 23:33:27 +02:00
Simon Ruderich
f3c734eb7d configure.ac: Check if __overflow() is available. 2013-06-20 22:14:42 +02:00
Simon Ruderich
4eb55ac071 {fwrite,fputs,fputc}_unlocked() are not in POSIX.
Define fwrite_unlocked(), fputs_unlocked() and fputc_unlocked() only if
they are available on the system.
2013-06-20 20:56:51 +02:00
Simon Ruderich
941370dda9 Hook BSD err(), errx(), warn(), warnx(), etc. functions.
err(), errx(), warn(), warnx(), verr(), verrx(), vwarn(), vwarnx() are
hooked.
2013-06-15 02:39:52 +02:00
Simon Ruderich
1068648718 Minor documentation update. 2013-06-15 02:21:27 +02:00
Simon Ruderich
9507e0f60d configure.ac: Fix Vim's syntax coloring issue with `..'. 2013-06-14 21:24:53 +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
e954d0fdfd configure.ac: fcntl.h is required. 2013-06-13 02:25:58 +02:00
Simon Ruderich
237251ae9c Hook execvpe(), a GNU extension. 2013-06-10 17:10:44 +02:00
Simon Ruderich
732d4d636d configure.ac: Abort if a required function wasn't found. 2013-06-10 16:54:42 +02:00
Simon Ruderich
db7cd10c74 configure.ac: strdup() is no longer used, dup2() is optional. 2013-06-10 16:54:11 +02:00
Simon Ruderich
d4f585e078 configure.ac: Minor style fix. 2013-06-10 16:22:09 +02:00
Simon Ruderich
357a499884 configure.ac: Add --enable-warnings.
Enables warning() messages without the overhead of all debug output.
2013-06-10 16:18:35 +02:00
Simon Ruderich
2f1aa1cdd3 Only run vfork() tests if it's available. 2013-06-10 15:16:21 +02:00
Simon Ruderich
0a2617527c Inline fast part of tracked_fds_find(). 2013-06-10 14:05:51 +02:00
Simon Ruderich
048bd6f9e7 Use likely()/unlikely() macros to improve branch prediction. 2013-06-10 14:05:51 +02:00
Simon Ruderich
c7f6f13de0 configure.ac: Compile with -Wall -Wextra -Wconversion. 2013-06-10 14:05:50 +02:00
Simon Ruderich
7f9856c5da Hook error() and error_at_line() if available.
They are used by some GNU programs to display error messages.
2013-06-05 23:57:05 +02:00
Simon Ruderich
b22a078b8d configure.ac: Don't require special versions of malloc/realloc. 2013-06-03 22:35:51 +02:00
Simon Ruderich
dbafded223 configure.ac: Reorder macros to follow convention. 2013-06-03 22:18:16 +02:00
Simon Ruderich
7c5d6fce3a Only hook vfork() if it's available. 2013-06-03 21:59:57 +02:00
Simon Ruderich
b34a8ce50b configure.ac: Require libtool 2.4. 2013-06-01 21:55:10 +02:00
Simon Ruderich
fb9548453f Add simple test suite. 2013-06-01 21:51:28 +02:00
Simon Ruderich
abc3d7889f Initial commit. 2013-05-31 18:19:12 +02:00