Date: Wed, 10 Jul 2002 18:43:53 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Peter Wemm <peter@wemm.org> Cc: Dag-Erling Smorgrav <des@ofug.org>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/chmod chmod.c Message-ID: <200207110143.g6B1hroD077276@apollo.backplane.com> References: <20020711012004.34C23380A@overcee.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:... :> 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 <dillon@backplane.com> 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?200207110143.g6B1hroD077276>