From owner-freebsd-standards@FreeBSD.ORG Mon Nov 9 17:05:01 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 29A5D106568F for ; Mon, 9 Nov 2009 17:05:01 +0000 (UTC) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [128.30.28.20]) by mx1.freebsd.org (Postfix) with ESMTP id D6B818FC13 for ; Mon, 9 Nov 2009 17:05:00 +0000 (UTC) Received: from khavrinen.csail.mit.edu (localhost [127.0.0.1]) by khavrinen.csail.mit.edu (8.14.3/8.14.3) with ESMTP id nA9GV6XS006026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL CN=khavrinen.csail.mit.edu issuer=Client+20CA); Mon, 9 Nov 2009 11:31:07 -0500 (EST) (envelope-from wollman@khavrinen.csail.mit.edu) Received: (from wollman@localhost) by khavrinen.csail.mit.edu (8.14.3/8.14.3/Submit) id nA9GV6R8006023; Mon, 9 Nov 2009 11:31:06 -0500 (EST) (envelope-from wollman) From: Garrett Wollman MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19192.17354.890527.943635@khavrinen.csail.mit.edu> Date: Mon, 9 Nov 2009 11:31:06 -0500 To: "Joseph S. Atkinson" In-Reply-To: <4AF7651F.20703@gmail.com> References: <4AF7651F.20703@gmail.com> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (khavrinen.csail.mit.edu [127.0.0.1]); Mon, 09 Nov 2009 11:31:07 -0500 (EST) Cc: freebsd-standards@freebsd.org Subject: 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 17:05:01 -0000 < 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). 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. -GAWollman