]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/log
coloredstderr/coloredstderr.git
11 years agoCOPYING: Add, GPL 3.
Simon Ruderich [Sun, 2 Jun 2013 16:40:39 +0000 (18:40 +0200)]
COPYING: Add, GPL 3.

11 years agoHook vfork() and replace it with fork().
Simon Ruderich [Sun, 2 Jun 2013 16:25:49 +0000 (18:25 +0200)]
Hook vfork() and replace it with fork().

11 years agohookmacros.h: Be more careful to restore the errno.
Simon Ruderich [Sat, 1 Jun 2013 20:47:23 +0000 (22:47 +0200)]
hookmacros.h: Be more careful to restore the errno.

check_handle_fd() or handle_fd_pre() might also modify it.

11 years agohookmacros.h: Reduce duplication in HOOK_VOID1().
Simon Ruderich [Sat, 1 Jun 2013 20:44:22 +0000 (22:44 +0200)]
hookmacros.h: Reduce duplication in HOOK_VOID1().

11 years agoHook perror(3).
Simon Ruderich [Sat, 1 Jun 2013 20:08:45 +0000 (22:08 +0200)]
Hook perror(3).

11 years agoconfigure.ac: Require libtool 2.4.
Simon Ruderich [Sat, 1 Jun 2013 19:55:10 +0000 (21:55 +0200)]
configure.ac: Require libtool 2.4.

11 years agoAdd simple test suite.
Simon Ruderich [Sat, 1 Jun 2013 19:51:28 +0000 (21:51 +0200)]
Add simple test suite.

11 years agoAdd ENV_NAME_FORCE_WRITE to force writes to non-tty devices.
Simon Ruderich [Sat, 1 Jun 2013 19:13:23 +0000 (21:13 +0200)]
Add ENV_NAME_FORCE_WRITE to force writes to non-tty devices.

11 years agoFix initialization if ENV_NAME_FDS was not set.
Simon Ruderich [Sat, 1 Jun 2013 16:27:56 +0000 (18:27 +0200)]
Fix initialization if ENV_NAME_FDS was not set.

If ENV_NAME_FDS is not set then init_from_environment() was called for
each hooked function, instead of just once.

11 years agoFix signature of fcntl() hook.
Simon Ruderich [Fri, 31 May 2013 20:31:11 +0000 (22:31 +0200)]
Fix signature of fcntl() hook.

11 years agoDisplay PID in tracked_fds_debug().
Simon Ruderich [Fri, 31 May 2013 16:40:49 +0000 (18:40 +0200)]
Display PID in tracked_fds_debug().

11 years agotrackfds.h: Add missing void to function definition.
Simon Ruderich [Fri, 31 May 2013 16:39:47 +0000 (18:39 +0200)]
trackfds.h: Add missing void to function definition.

11 years agofcntl(): Don't call dup_fd() if real_fcntl() failed.
Simon Ruderich [Fri, 31 May 2013 16:37:55 +0000 (18:37 +0200)]
fcntl(): Don't call dup_fd() if real_fcntl() failed.

11 years agoRename macros.h to hookmacros.h.
Simon Ruderich [Fri, 31 May 2013 16:36:21 +0000 (18:36 +0200)]
Rename macros.h to hookmacros.h.

11 years agoInitial commit.
Simon Ruderich [Fri, 31 May 2013 16:19:12 +0000 (18:19 +0200)]
Initial commit.