From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Zsh workers <zsh-workers@sunsite.dk>
Subject: Re: setting resource limits
Date: Mon, 14 Jun 2004 17:59:55 +0200 [thread overview]
Message-ID: <29023.1087228795@trentino.logica.co.uk> (raw)
In-Reply-To: <200406141521.i5EFLolC019193@news01.csr.com>
Peter wrote:
> A much nicer way of doing it is with an explicit option to give the
> number of the limit. This is more consistent with normal ulimit
> behaviour.
Yes, this does look better. Cheers.
It should probably produce an error for a negative number instead of
defaulting to the file size limit. The old code initialises res to -1
twice then checks for it at the end. I'd have thought it could just be
initialised to RLIMIT_FSIZE with the <0 test producing an error.
Is it worth doing the same for the limit and unlimit builtins too?
Oliver
next prev parent reply other threads:[~2004-06-14 16:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 11:31 Oliver Kiddle
2004-06-14 13:08 ` Peter Stephenson
2004-06-14 15:21 ` Peter Stephenson
2004-06-14 15:42 ` Wayne Davison
2004-06-14 15:46 ` Peter Stephenson
2004-06-14 15:59 ` Oliver Kiddle [this message]
2004-06-14 16:54 ` Peter Stephenson
2004-06-30 10:12 ` PATCH: setting unknown resource limits, again Peter Stephenson
2004-06-14 19:14 ` setting resource limits Dan Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29023.1087228795@trentino.logica.co.uk \
--to=okiddle@yahoo.co.uk \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).