summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--builtins.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1306818..e272bb8 100644
--- 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
index 7012de3..ea708b6 100644
--- 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;