diff -cr /tmp/tct-1.16/CHANGES ./CHANGES *** /tmp/tct-1.16/CHANGES Fri Mar 17 09:26:53 2006 --- ./CHANGES Thu Apr 5 10:02:37 2007 *************** *** 1,3 **** --- 1,13 ---- + Thu Jan 11 16:10:29 EST 2007 + + o Bugfix: the timeout command always reported zero exit status + after voluntary child process exit. + + Mon Jun 26 18:44:17 EDT 2006 + + o Bit-rot: update #include statements because code either + no longer compiled or compiled with warnings. + Fri Mar 17 09:25:57 EST 2006 o Bit-rot: update #include statements because code either diff -cr /tmp/tct-1.16/src/fstools/mylseek.c ./src/fstools/mylseek.c *** /tmp/tct-1.16/src/fstools/mylseek.c Fri Mar 17 09:24:16 2006 --- ./src/fstools/mylseek.c Mon Jun 26 17:07:45 2006 *************** *** 22,27 **** --- 22,28 ---- #include "fs_tools.h" #ifdef USE_MYLSEEK #ifdef HAVE_LLSEEK + #include #include #include diff -cr /tmp/tct-1.16/src/misc/timeout.c ./src/misc/timeout.c *** /tmp/tct-1.16/src/misc/timeout.c Mon Oct 18 10:59:31 2004 --- ./src/misc/timeout.c Thu Jan 11 16:10:29 2007 *************** *** 34,39 **** --- 34,40 ---- /* System libraries. */ #include + #include #include #include #include *************** *** 107,112 **** alarm(time_to_run); while ((pid = wait(&status)) != -1 && pid != child_pid) /* void */ ; ! return (pid == child_pid ? status : -1); } } --- 108,113 ---- alarm(time_to_run); while ((pid = wait(&status)) != -1 && pid != child_pid) /* void */ ; ! return (pid == child_pid ? WEXITSTATUS(status) | WTERMSIG(status) : -1); } }