From owner-cvs-all Fri May 10 20:56: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 433A137B404; Fri, 10 May 2002 20:55:56 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 046A8AE275; Fri, 10 May 2002 20:55:56 -0700 (PDT) Date: Fri, 10 May 2002 20:55:55 -0700 From: Alfred Perlstein To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/add extract.c src/usr.s Message-ID: <20020511035555.GE90188@elvis.mu.org> References: <200205110348.g4B3mnu86981@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i 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 * John Baldwin [020510 20:51] wrote: > > On 11-May-2002 Alfred Perlstein wrote: > > alfred 2002/05/10 20:48:49 PDT > > > > Modified files: > > usr.sbin/pkg_install/add extract.c > > usr.sbin/pkg_install/create perform.c pl.c > > usr.sbin/pkg_install/delete perform.c > > usr.sbin/pkg_install/info show.c > > usr.sbin/pkg_install/lib file.c pen.c plist.c > > Log: > > fix build: > > you may not use string concatination with __FUNCTION__, replace all > > occurances > > of: > > __FUNCTION__ ": error string" > > with: > > "%s: error string" > > You should also use __func__ instead of __FUNCTION__ since __func__ is > the standard (C-99 IIRC) name for it. I don't mind fixing that, should I? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message