From owner-freebsd-stable@FreeBSD.ORG Sun Aug 31 10:36:06 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A2216A4C0 for ; Sun, 31 Aug 2003 10:36:06 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E558044008 for ; Sun, 31 Aug 2003 10:36:04 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h7VHa2TX017588; Sun, 31 Aug 2003 11:36:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 31 Aug 2003 11:35:43 -0600 (MDT) Message-Id: <20030831.113543.12223209.imp@bsdimp.com> To: ertr1013@student.uu.se From: "M. Warner Losh" In-Reply-To: <20030830171343.GA33800@falcon.midgard.homeip.net> References: <20030830161813.GA28890@twisted.net> <200308301649.h7UGnF5H042361@khavrinen.lcs.mit.edu> <20030830171343.GA33800@falcon.midgard.homeip.net> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: stable@freebsd.org cc: wollman@khavrinen.lcs.mit.edu Subject: Re: POSIX_C_SOURCE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 17:36:06 -0000 In message: <20030830171343.GA33800@falcon.midgard.homeip.net> Erik Trulsson writes: : /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */ : #if _POSIX_C_SOURCE == 1 : #undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */ : @@ -280,6 +282,8 @@ : #undef _POSIX_C_SOURCE : #define _POSIX_C_SOURCE 199209 : #endif That's 100% legal and should *NOT* produce a warning. Garrett is right. Warner