From owner-freebsd-standards@FreeBSD.ORG Sat Jan 29 20:30:15 2011 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9893D1065675 for ; Sat, 29 Jan 2011 20:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E4A28FC18 for ; Sat, 29 Jan 2011 20:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0TKUFFL037193 for ; Sat, 29 Jan 2011 20:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0TKUF3n037188; Sat, 29 Jan 2011 20:30:15 GMT (envelope-from gnats) Date: Sat, 29 Jan 2011 20:30:15 GMT Message-Id: <201101292030.p0TKUF3n037188@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Garrett Cooper Cc: Subject: Re: standards/24590: timezone function not compatible witn Single Unix Spec v2 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Cooper List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2011 20:30:15 -0000 The following reply was made to PR standards/24590; it has been noted by GNATS. From: Garrett Cooper To: bug-followup@FreeBSD.org, crandall@matchlogic.com Cc: Subject: Re: standards/24590: timezone function not compatible witn Single Unix Spec v2 Date: Sat, 29 Jan 2011 12:25:18 -0800 --0016e64f4b0431d83e049b01fb29 Content-Type: text/plain; charset=ISO-8859-1 It's marked non-conforming in time.h (see http://svn.freebsd.org/viewvc/base/head/include/time.h?view=diff&r1=144528&r2=144529 for the commit -- it was 1 year after the last activity was made to this PR): #if __BSD_VISIBLE char *timezone(int, int); /* XXX XSI conflict */ void tzsetwall(void); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); #endif /* __BSD_VISIBLE */ This attached patch to the timezone(3) manpage makes the XSI conformance `issue' more apparent (it might not be a good final solution, but at least it documents the problem outside of GNATs). As far as the option is concerned, yes it's required by BASE, and we may or may not want to grab some of the bits from NetBSD to properly rename this function for the purposes of resolving this conformance issue, but that's a larger effort than documenting the issue is (for now). Thanks, -Garrett --0016e64f4b0431d83e049b01fb29 Content-Type: text/x-patch; charset=US-ASCII; name="note-timezone-xsi-incompatibility.patch" Content-Disposition: attachment; filename="note-timezone-xsi-incompatibility.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gjiypbh20 SW5kZXg6IC91c3Ivc3JjL2xpYi9saWJjL2dlbi90aW1lem9uZS4zCj09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIC91 c3Ivc3JjL2xpYi9saWJjL2dlbi90aW1lem9uZS4zCShyZXZpc2lvbiAyMTczNjIpCisrKyAvdXNy L3NyYy9saWIvbGliYy9nZW4vdGltZXpvbmUuMwkod29ya2luZyBjb3B5KQpAQCAtNjIsNiArNjIs OSBAQAogaXMgbm9uLXplcm8gaWYgZGF5bGlnaHQgc2F2aW5ncyB0aW1lIGlzIGluIGVmZmVjdC4K IC5TaCBTRUUgQUxTTwogLlhyIGN0aW1lIDMKKy5TaCBTVEFOREFSRFMKK1RoaXMgZnVuY3Rpb24g Y29uZmxpY3RzIHdpdGggdGhlIHRpbWV6b25lIFhTSSBvcHRpb24gYXMgZGVmaW5lZCBpbgorLlN0 IC1wMTAwMy4yLTkyIC4KIC5TaCBISVNUT1JZCiBBCiAuRm4gdGltZXpvbmUK --0016e64f4b0431d83e049b01fb29--