Date: Fri, 07 Sep 2001 19:13:30 +0100 From: Mark Murray <mark@grondar.za> To: Hajimu UMEMOTO <ume@mahoroba.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/su Makefile su.c Message-ID: <200109071813.f87IDV296035@grimreaper.grondar.za> In-Reply-To: <20010908.013941.59479858.ume@mahoroba.org> ; from Hajimu UMEMOTO <ume@mahoroba.org> "Sat, 08 Sep 2001 01:39:41 %2B0900." References: <20010908.013941.59479858.ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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:
Yeah :-)
I have exactly this fix in my sources, and when I've built it a
couple of times and I've got my head around why the previous
one didn't work, I'll commit it.
M
> 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/
--
Mark Murray
Warning: this .sig is umop ap!sdn
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?200109071813.f87IDV296035>
