rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit ea5ce6dbed2f425da750f7a1991e5bae05f70c3e
parent bf61b6f19e8292742ed3dedcf58457ff3607173a
Author: tjg <tjg>
Date:   Fri,  8 Feb 2002 14:03:36 +0000

  Bug: parselimit() was broken in various ways (thanks Chris
  Siebenmann).

Diffstat:
MChangeLog | 6++++++
Mbuiltins.c | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -757,3 +757,9 @@ Changes since rc-1.5b2 more examples. Release: rc-1.6c5. + +2001-11-23 + + Bug: parselimit() was broken in various ways (thanks Chris + Siebenmann). + diff --git a/builtins.c b/builtins.c @@ -485,7 +485,7 @@ static void printlimit(const struct Limit *limit, bool hard) { } } -static rlim_t parselimit(const struct Limit *resource, rlim_t *limit, char *s) { +static bool parselimit(const struct Limit *resource, rlim_t *limit, char *s) { char *t; int len = strlen(s); const struct Suffix *suf = resource->suffix;