From mboxrd@z Thu Jan 1 00:00:00 1970 From: pdm@sourceware.cygnus.com To: gnats-cvs@sourceware.cygnus.com Subject: gnats/gnats queue-pr.c Date: Fri, 09 Nov 2001 14:20:00 -0000 Message-id: <20011109222043.6466.qmail@sourceware.cygnus.com> X-SW-Source: 2001/msg00322.html List-Id: 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