From bf61b6f19e8292742ed3dedcf58457ff3607173a Mon Sep 17 00:00:00 2001 From: tjg Date: Fri, 23 Nov 2001 16:03:22 +0000 Subject: Bug: parselimit() was broken in various ways (thanks Chris Siebenmann). --- rlimit.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rlimit.h') diff --git a/rlimit.h b/rlimit.h index f3c2e3d..a3dbe8d 100644 --- a/rlimit.h +++ b/rlimit.h @@ -39,4 +39,15 @@ typedef long rlim_t; #define RLIMIT_NOFILE RLIMIT_OFILE #endif +struct Suffix { + const struct Suffix *next; + long amount; + char *name; +}; + +struct Limit { + char *name; + int flag; + const struct Suffix *suffix; +}; #endif /* HAVE_SETRLIMIT */ -- cgit v1.2.3