[Queue-developers] patches: rlimits-bug-fix, queued--foreground
Brought to you by:
wkrebs
|
From: QingLong <qin...@Bo...> - 2001-02-09 16:16:29
|
Hello!
Anybody alive here?
I submit to your consideration two patches (see attachment):
queue-1.30.1.rlimits-bug-fix.diff
A ``small integer used to index the q_rlimit array'' upper limit
and RLIM_NLIMITS were confused in a couple of places in RLIMIT_*
entities handling code. This patch fixes this bug.
It also adds a few new RLIMIT_*'s available in Linux
(they all are properly wrapped in #ifdef's).
queue-1.30.1.queued--foreground.diff
This patch moves ``rinning in foreground'' feature control from `--debug'
to its own command line option `--foreground'.
I think that having an ability to control run mode independently
from `--debug' is very usefull for Queue now, as I consider it
as not yet very stable and requiring contiguous debugging
even during ``production'' run in background.
This patch also renames `-v' (--version) to `-V' in accordance
with traditions, btw `-v' is traditionally used for `--verbose'.
The patch also squeezes a couple of unnecessary repititions
and slightly ``beatifies'' `show usage' and `show version' code.
Please consider mergeing these changes in Queue.
Thank you.
QingLong.
|