From owner-freebsd-bugs Wed Nov 21 22:10: 9 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 467C637B405; Wed, 21 Nov 2001 22:10:07 -0800 (PST) Received: by sharmas.dhs.org (Postfix, from userid 500) id 1F3875E59D; Wed, 21 Nov 2001 22:10:06 -0800 (PST) Date: Wed, 21 Nov 2001 22:10:06 -0800 From: Arun Sharma To: jkoshy@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/30317: Inability to compile programs defining _POSIX_SOURCE Message-ID: <20011121221006.A23523@sharma-home.net> References: <200111220546.fAM5kVf77953@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <200111220546.fAM5kVf77953@freefall.freebsd.org>; from jkoshy@FreeBSD.org on Wed, Nov 21, 2001 at 09:46:31PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 21, 2001 at 09:46:31PM -0800, jkoshy@FreeBSD.org wrote: > Synopsis: Inability to compile programs defining _POSIX_SOURCE > > State-Changed-From-To: open->closed > State-Changed-By: jkoshy > State-Changed-When: Wed Nov 21 21:43:27 PST 2001 > State-Changed-Why: > Seems to be a misunderstanding on how defining > `_POSIX_SOURCE' is required to change the behaviour of > the C compilation system. > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30317 I subsequently produced a patch that doesn't break anything and solves the problem. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=201868+0+archive/2001/freebsd-arch/20010909.freebsd-arch True, defining _POSIX_SOURCE is usually a result of a misunderstanding, but it's not too uncommon in practice, requiring special patches for BSD. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message