From owner-svn-src-head@FreeBSD.ORG Sat Mar 14 19:12:12 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C9D106566B; Sat, 14 Mar 2009 19:12:12 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E9D428FC14; Sat, 14 Mar 2009 19:12:11 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2EJCBUv005434; Sat, 14 Mar 2009 19:12:11 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2EJCB3P005433; Sat, 14 Mar 2009 19:12:11 GMT (envelope-from das@svn.freebsd.org) Message-Id: <200903141912.n2EJCB3P005433@svn.freebsd.org> From: David Schultz Date: Sat, 14 Mar 2009 19:12:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189818 - head/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 19:12:12 -0000 Author: das Date: Sat Mar 14 19:12:11 2009 New Revision: 189818 URL: http://svn.freebsd.org/changeset/base/189818 Log: Namespace: dprintf() and getline() are in P1003.1-2008. Modified: head/include/stdio.h Modified: head/include/stdio.h ============================================================================== --- head/include/stdio.h Sat Mar 14 19:11:08 2009 (r189817) +++ head/include/stdio.h Sat Mar 14 19:12:11 2009 (r189818) @@ -360,7 +360,7 @@ int vdprintf(int, const char * __restri #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define _WITH_GETLINE #elif defined(_POSIX_C_SOURCE) -#if _POSIX_C_SOURCE > 200809 +#if _POSIX_C_SOURCE >= 200809 #define _WITH_GETLINE #endif #endif @@ -374,7 +374,7 @@ ssize_t getline(char ** __restrict, siz #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define _WITH_DPRINTF #elif defined(_POSIX_C_SOURCE) -#if _POSIX_C_SOURCE > 200809 +#if _POSIX_C_SOURCE >= 200809 #define _WITH_DPRINTF #endif #endif