From owner-cvs-all Fri Sep 7 13:12:44 2001 Delivered-To: cvs-all@freebsd.org Received: from ms62.hinet.net (ms62.hinet.net [168.95.4.62]) by hub.freebsd.org (Postfix) with ESMTP id 1182B37B407; Fri, 7 Sep 2001 13:12:34 -0700 (PDT) Received: from play.cirx.org (postfix@play.cirx.org [211.72.15.244]) by ms62.hinet.net (8.8.8/8.8.8) with ESMTP id EAA12243; Sat, 8 Sep 2001 04:12:27 +0800 (CST) Received: from cartier.cirx.org.kliev-net (cartier [211.72.15.243]) by play.cirx.org (Postfix) with SMTP id AE8741933A; Sat, 8 Sep 2001 04:12:14 +0800 (CST) Received: (nullmailer pid 9053 invoked by uid 1000); Fri, 07 Sep 2001 20:12:14 -0000 Date: Sat, 8 Sep 2001 04:12:14 +0800 From: Clive Lin To: Hajimu UMEMOTO 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> References: <200109071620.f87GKcD95183@freefall.freebsd.org> <20010908.013941.59479858.ume@mahoroba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010908.013941.59479858.ume@mahoroba.org> User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----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