From owner-cvs-contrib Tue Jul 14 21:23:44 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA11711 for cvs-contrib-outgoing; Tue, 14 Jul 1998 21:23:44 -0700 (PDT) (envelope-from owner-cvs-contrib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA11677; Tue, 14 Jul 1998 21:23:39 -0700 (PDT) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA17251; Tue, 14 Jul 1998 21:22:56 -0700 (PDT) Date: Tue, 14 Jul 1998 21:22:56 -0700 (PDT) Message-Id: <199807150422.VAA17251@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-contrib@FreeBSD.ORG Subject: cvs commit: src/contrib/gcc c-common.c c-tree.h extend.texi Sender: owner-cvs-contrib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1998/07/14 21:22:55 PDT Modified files: contrib/gcc c-common.c c-tree.h extend.texi Log: Add support for a new archetype "printf0" for the "format" function attribute. It is like the existing "printf" archetype, except that it doesn't complain if the format string is a null pointer. See the node "Function Attributes" in the GCC info pages if you don't know what this is all about. This change will allow us to add format string checking for the err(3) family of functions. Revision Changes Path 1.2 +36 -15 src/contrib/gcc/c-common.c 1.2 +1 -1 src/contrib/gcc/c-tree.h 1.2 +9 -7 src/contrib/gcc/extend.texi