Commit Graph

21 Commits

Author SHA1 Message Date
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