Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2011 20:30:15 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/24590: timezone function not compatible witn Single Unix Spec v2
Message-ID:  <201101292030.p0TKUF3n037188@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/24590; it has been noted by GNATS.

From: Garrett Cooper <yanegomi@gmail.com>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101292030.p0TKUF3n037188>