Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 23:50:20 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Alfred Perlstein <alfred@FreeBSD.org>
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:  <XFMail.20020510235020.jhb@FreeBSD.org>
In-Reply-To: <200205110348.g4B3mnu86981@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020510235020.jhb>