From owner-cvs-all Tue Sep 10 21:30:15 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C0537B40F; Tue, 10 Sep 2002 21:30:00 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E110643E6A; Tue, 10 Sep 2002 21:29:59 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id AA43D9E58; Wed, 11 Sep 2002 00:23:38 -0400 (EDT) Date: Wed, 11 Sep 2002 00:23:38 -0400 From: Mike Barcroft To: Kimura Fuyuki Cc: fanf@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/uudecode uudecode.c Message-ID: <20020911002338.A73618@espresso.q9media.com> References: <200209110100.g8B10uuh023018@freefall.freebsd.org> <20020910224200.A73565@espresso.q9media.com> <86ptvlw7k5.wl@hadaly.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86ptvlw7k5.wl@hadaly.dyndns.org>; from fuyuki@hadaly.org on Wed, Sep 11, 2002 at 12:04:26PM +0900 Organization: The FreeBSD Project 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 Kimura Fuyuki writes: > `n' can be minus... > > Index: uudecode.c > =================================================================== > RCS file: /home/ncvs/src/usr.bin/uudecode/uudecode.c,v > retrieving revision 1.39 > diff -u -r1.39 uudecode.c > --- uudecode.c 11 Sep 2002 01:00:56 -0000 1.39 > +++ uudecode.c 11 Sep 2002 02:59:47 -0000 > @@ -153,7 +153,7 @@ > decode2(void) > { > int base64; > - size_t n; > + int n; > char ch, *p, *q; > void *mode; > struct passwd *pw; > Unfortunately this wasn't good enough since most uses of n needed to be size_t. I've added a new variable to cope. It seems to build share, so hopefully world is unbroken again. Thanks for the pointer. I thought I checked all the uses of n, but didn't notice the last few. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message