From owner-cvs-all Fri May 10 20:51: 8 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 29D6937B409 for ; Fri, 10 May 2002 20:51:00 -0700 (PDT) Received: (qmail 21876 invoked from network); 11 May 2002 03:50:51 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 11 May 2002 03:50:51 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4B3oMF45311; Fri, 10 May 2002 23:50:22 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200205110348.g4B3mnu86981@freefall.freebsd.org> Date: Fri, 10 May 2002 23:50:20 -0400 (EDT) From: John Baldwin To: Alfred Perlstein Subject: RE: cvs commit: src/usr.sbin/pkg_install/add extract.c src/usr.s Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 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. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message