On Tue, Nov 11, 2008 at 07:41:25PM -0600, John Hasler wrote:
Peter writes:
Well, this is actually bog-standard getopt(3) behavior...
It is standard getopt() behavior to permute the arguments, whence comes the
bug. The '+' in the patch below stops it from doing so.
Oof! Sorry - that's
Peter writes:
Do you think that this is important enough to warrant a
timelimit-1.1-3+lenny1 upload to testing-proposed-updates?
I wouldn't. The '--' workaround works well enough.
--
John Hasler
[EMAIL PROTECTED]
Elmwood, WI USA
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a
Peter writes:
Well, this is actually bog-standard getopt(3) behavior...
It is standard getopt() behavior to permute the arguments, whence comes the
bug. The '+' in the patch below stops it from doing so. I've also
replaced 'EOF' with '-1' because the latter is what getopt() returns.
'EOF' is a
On Sun, Nov 09, 2008 at 01:42:38PM -0600, John Hasler wrote:
Package: timelimit
Version: 1.3-1
Severity: normal
Timelimit errors out when the arguments to the commands have leading -'s
unless the command is prepended with '--'. Timelimit appears to eat up
everything
starting with a '-'
Peter writes:
Well, this is actually bog-standard getopt(3) behavior, the same as with
many other utilities :) But, yes, you are right, it might be surprising
to people who try this first with timelimit.
More than a little surprising:
thumper/~/test cat file
qwerty uiop asdf ghjkl
Package: timelimit
Version: 1.3-1
Severity: normal
Timelimit errors out when the arguments to the commands have leading -'s
unless the command is prepended with '--'. Timelimit appears to eat up
everything
starting with a '-' until it consumes a '--'.
Example:
thumper/~ timelimit -s9 -t5
6 matches
Mail list logo