File: ChangeLog

package info (click to toggle)
stopafter 1.2.5-6.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 80 kB
  • ctags: 40
  • sloc: ansic: 325; makefile: 49; sh: 4
file content (62 lines) | stat: -rw-r--r-- 2,491 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
v1.2.5, Wed Dec  4 04:54:23 UTC 1996

Oops.  Let's not try to write the pid file unless one was specified.

v1.2.4, Wed Dec  4 01:19:35 UTC 1996

Added pid file option (-f, specify only once) and a simple option
parsing loop. The pid file is created just before the parent process
settles down to wait for child process completion, and is deleted
during signal handling.

If the open or close of the pid file is unsuccessful, we raise
SIGHUP, which hopefully will kill the children as well.

v1.1.6, Thu Aug 1 04:36:39 UTC 1996

Lots of cleanup.  Added a verbose option (-v, only valid as first
option).

v1.1.0, Wed Jul 31 16:28:01 UTC 1996

Running the monitor process as a child and running the execvp()
under the parent process did not seem to allow us to properly keep
track of terminations.  It was my thought originally we wouldn't
need to, just kill things when the parent died.  But, what if the
parent starts up another child?  The whole point of using a new
process group was to allow us to kill
*everything* when time's up, but not kill anything *before*.

So, now we're using a more conventional setup.  We're the mama.  One
of those horrid mamas in the B movies who turns into an axe
murderer.  If we get our timeout alarm, we kill all our children
(everyone in the process group).  Meanwhile, we sit around doing
waitpid() on the process group, looping until all our children are
dead and we get an ECHILD.  Then we make double-sure by killing
everyone all over again.  We'll probably get life with no
possibility of parole.

Yes, I need to add stderr messages and better parsing, but not for
now, I'm way too busy.  :)

Meanwhile, my persistent problem (piping to a file from a stopafter-
initiated exec worked, piping to a program did not) appears to have
been due to my neglecting to include the include for <string.h>. 
GCC 2.7.2 quietly resolves the library reference without providing
the headers for the functions, letting the parameters default to
(int) or some such.  I know I put -Wall in that source.  Thank FSF
for that bit of silliness.

Hopefully the remaining buglets are sorted out, if not there'll be
another release as soon as I try to use the program for something
and can't.  You can hasten this process by emailing any problem
reports to me at:

                   lilo <lilo@linpeople.org>

In fact, you could even write to tell me how much you enjoyed the
program.  If you ask nicely, I'll give you an address where you can
send me money.  :)


:) lilo