Date: Sat, 08 Sep 2001 01:39:41 +0900 (JST) From: Hajimu UMEMOTO <ume@mahoroba.org> To: markm@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/su Makefile su.c Message-ID: <20010908.013941.59479858.ume@mahoroba.org> In-Reply-To: <200109071620.f87GKcD95183@freefall.freebsd.org> References: <200109071620.f87GKcD95183@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
>>>>> On Fri, 7 Sep 2001 09:20:38 -0700 (PDT)
>>>>> Mark Murray <markm@FreeBSD.org> said:
markm> markm 2001/09/07 09:20:38 PDT
markm> Modified files:
markm> usr.bin/su Makefile su.c
markm> Log:
markm> Back out (with prejudice) the last WARNS=2 fix. I cannot understand
markm> its failure mode, and will revisit it later.
If you mean `su user -c command' breakage, this patch fixes it:
Index: usr.bin/su/su.c
diff -u usr.bin/su/su.c.orig usr.bin/su/su.c
--- usr.bin/su/su.c.orig Fri Sep 7 18:21:44 2001
+++ usr.bin/su/su.c Fri Sep 7 18:24:18 2001
@@ -116,7 +116,7 @@
login_cap_t *lc;
union {
const char **a;
- char * const b[1];
+ char * const *b;
} np;
uid_t ruid;
gid_t gid;
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010908.013941.59479858.ume>
