openbsd-ports/shells/tcsh/patches/patch-sh_exp_c

22 lines
811 B
Plaintext

$OpenBSD: patch-sh_exp_c,v 1.1 2004/10/11 02:08:53 jolan Exp $
--- sh.exp.c.orig Fri Mar 8 11:36:46 2002
+++ sh.exp.c Sun Oct 10 21:06:53 2004
@@ -153,7 +153,7 @@ sh_access(fname, mode)
* and they define _SC_NGROUPS_MAX without having sysconf
*/
# undef _SC_NGROUPS_MAX
-# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__bsdi__)
+# if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__bsdi__)
# define GID_T gid_t
# else
# define GID_T int
@@ -661,7 +661,7 @@ filetest(cp, vp, ignore)
bool altout = 0;
Char *ft = cp, *dp, *ep, *strdev, *strino, *strF, *str, valtest = '\0',
*errval = STR0;
- char *string, string0[8];
+ char *string, string0[16];
time_t footime;
struct passwd *pw;
struct group *gr;