From owner-freebsd-standards@FreeBSD.ORG Mon Nov 9 20:05:30 2009 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EB5C106568F for ; Mon, 9 Nov 2009 20:05:30 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0AAB08FC16 for ; Mon, 9 Nov 2009 20:05:29 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:62492 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1N7aCL-0002JT-4z for freebsd-standards@freebsd.org; Mon, 09 Nov 2009 20:46:47 +0100 Received: (qmail 15139 invoked from network); 9 Nov 2009 20:46:43 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2009 20:46:43 +0100 Received: (qmail 24106 invoked by uid 1001); 9 Nov 2009 20:46:43 +0100 Date: Mon, 9 Nov 2009 20:46:43 +0100 From: Erik Trulsson To: Garrett Wollman Message-ID: <20091109194642.GA23966@owl.midgard.homeip.net> References: <4AF7651F.20703@gmail.com> <19192.17354.890527.943635@khavrinen.csail.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19192.17354.890527.943635@khavrinen.csail.mit.edu> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1N7aCL-0002JT-4z. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1N7aCL-0002JT-4z 8a0bb220152e8638645e078b40d90170 Cc: freebsd-standards@freebsd.org Subject: Re: timezone: long vs char* X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 20:05:30 -0000 On Mon, Nov 09, 2009 at 11:31:06AM -0500, Garrett Wollman wrote: > < said: > > > Hello. I was working on bringing audio/liboggz up to date in ports, but hit a > > snag. liboggz expects timezone information to be long, which is (I am told) in > > accordance with SUSv3. FreeBSD is appears to be returning char*. > > > I asked about this in #bsdports and was told that it appears that FreeBSD is > > wrong in this case and should be fixed. I saw no mention of this as a known > > issue on the standards webpage. > > I think the people on "#bsdports" (an IRC channel, I assume) are > wrong. FreeBSD has never targeted conformance to any version of SUS, > which memorializes a large number of UNIX System V's historic > mistakes. We do target conformance to POSIX (IEEE Std. 1003.1-2008 is > the current version). Well, these days the SUS and POSIX standards are pretty much the same thing. > > In the POSIX specification, the declarations of "timezone" and > "daylight" in are flagged as "XSI", meaning that they are > part of the X/Open System Interfaces extension, which in turn means > that they are part of SUS but not POSIX. If the POSIX specification specifies them they are very much part of POSIX, but in this particular case an optional part of POSIX. -- Erik Trulsson ertr1013@student.uu.se