diff options
Diffstat (limited to 'shells/es/patches/patch-ab')
-rw-r--r-- | shells/es/patches/patch-ab | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/shells/es/patches/patch-ab b/shells/es/patches/patch-ab new file mode 100644 index 00000000000..0a15ec3f9f2 --- /dev/null +++ b/shells/es/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.1 2004/02/26 07:47:48 uebayasi Exp $ + +--- prim-sys.c.orig Tue May 30 06:13:51 1995 ++++ prim-sys.c Thu Apr 10 10:15:40 1997 +@@ -194,7 +194,7 @@ + + static void printlimit(const Limit *limit, Boolean hard) { + struct rlimit rlim; +- long lim; ++ u_quad_t lim; + getrlimit(limit->flag, &rlim); + if (hard) + lim = rlim.rlim_max; +@@ -209,11 +209,11 @@ + lim /= suf->amount; + break; + } +- print("%-8s\t%d%s\n", limit->name, lim, (suf == NULL || lim == 0) ? "" : suf->name); ++ print("%-8s\t%ud%s\n", limit->name, (unsigned int)lim, (suf == NULL || lim == 0) ? "" : suf->name); + } + } + +-static long parselimit(const Limit *limit, char *s) { ++static u_quad_t parselimit(const Limit *limit, char *s) { + long lim; + char *t; + const Suffix *suf = limit->suffix; |