Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2001 04:12:14 +0800
From:      Clive Lin <clive@tongi.org>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        markm@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/su Makefile su.c
Message-ID:  <20010908041214.A8280@cartier.cirx.org>
In-Reply-To: <20010908.013941.59479858.ume@mahoroba.org>
References:  <200109071620.f87GKcD95183@freefall.freebsd.org> <20010908.013941.59479858.ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I know it looks stupid to say Yay! here, but ...

On Sat, Sep 08, 2001 at 01:39:41AM +0900, Hajimu UMEMOTO wrote:
> 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;

Yay !!

I've worried about it for 3 days. ;)

- -- 
PGP key in header X-PGP-key. Mutt users simply |gpg --verify would do
the job. Win32 users please google for "pgp freeware."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7mSoMdFUoBaAIwD4RAhMuAKCLeC2l3lasnA7mWOuB0QOy5EvwtgCePDJ6
1YLhu8WHZBQ9XrTviLPEL40=
=6mZX
-----END PGP SIGNATURE-----

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?20010908041214.A8280>