CVSROOT: /cvs/gnats
Module name: gnats
Changes by: pdm@sources.redhat.com 2001-11-09 14:20:42
Modified files:
gnats : queue-pr.c
Log message:
* queue-pr.c (main, run_gnats): Added new command-line option
"max-size"; in --run mode, messages larger than max-size will not
be processed, but instead will generate an email to the database
admin.
(fork_gnats): Fork off pr-edit, instead of file-pr (which is just
a shell script wrapper around pr-edit).
(USAGE): Add max-size option.
(run_gnats): If pr-edit exits with status 2, check to see if file
still exists; if not, another queue-pr is probably running.
Report file as missing.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gnats/gnats/queue-pr.c.diff?cvsroot=gnats&r1=1.18&r2=1.19