From owner-cvs-all Wed Jul 10 18:43:59 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 BE9BE37B400; Wed, 10 Jul 2002 18:43:53 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D6B43E42; Wed, 10 Jul 2002 18:43:53 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g6B1hrLA077277; Wed, 10 Jul 2002 18:43:53 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g6B1hroD077276; Wed, 10 Jul 2002 18:43:53 -0700 (PDT) (envelope-from dillon) Date: Wed, 10 Jul 2002 18:43:53 -0700 (PDT) From: Matthew Dillon Message-Id: <200207110143.g6B1hroD077276@apollo.backplane.com> To: Peter Wemm Cc: Dag-Erling Smorgrav , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/chmod chmod.c References: <20020711012004.34C23380A@overcee.wemm.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 :... :> You want to disable the attribute globally? The only problem with it :> is with three functions that pass NULL. : :Well, that's what __printf0__ is for.. Ie: the same as __printf__ but it :is supposed to accept a NULL. If it isn't working for those 3 functions, :then it wont work elsewhere either. If __printf0__ isn't working, then :we should switch it off (since we can). : :The only real users of this are err/warn/etc and setproctitle() (which :also allows a NULL argument). If other code in the tree tries to use :__printf0like() itself, it would suffer the same problems, so we would :be doing ourselves a favor there too. : :I'm amused that this only seems to happen on some platforms, while :the entire warning is missing from others. : :Cheers, :-Peter :-- :Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com I'm running a July 7 world. The compiler rev is already 500003 so this conditional will not work: ... #if __FreeBSD_cc_version >= 300001 && __FreeBSD_cc_version < 500003 cpp -dM < /dev/null | fgrep FreeBSD_cc #define __FreeBSD_cc_version 500003 I could pray that whoever bumps the rev next fixes this problem and use < 500004 but that doesn't sound very safe to me. Perhaps it should simply be disabled. #if 0 -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message