A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1788 ====================================================================== Reported By: Guy Harris Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1788 Category: Base Definitions and Headers Type: Clarification Requested Severity: Comment Priority: normal Status: New Name: Guy Harris Organization: User Reference: Section: N/A Page Number: N/A Line Number: N/A Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2023-11-18 00:16 UTC Last Modified: 2023-11-23 23:19 UTC ====================================================================== Summary: The meaning of "Daylight Saving Time" should be clarified ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001253 clarify that "alternative time&quo... ======================================================================
---------------------------------------------------------------------- (0006588) steffen (reporter) - 2023-11-23 23:19 https://austingroupbugs.net/view.php?id=1788#c6588 ---------------------------------------------------------------------- If i grep(1) through (Free|Net|Open)BSD your use case seems superficial. In general people seem to go through time functions instead of direct additions. The file list below over all three is 153 lines for git grep tzname BRANCH | grep -vEi 'makefile|configure|tzcode|tzdata|/man/' | sed -Ee 's/.+:(.+):.*/\1/' | uniq with many "false positives" still (and matches like libc/time). The python and perl languages i also looked at (perl also included in the list through OpenBSD though, .. a bit) have some use cases, like Perl's POSIX module. Ie snake bites its own tail, practically. I see no usage of tzname in the servers i use for email, http, ssh, nor in the openssh library. In general i think what should be strived for is a reentrant ie multithread-aware interface where global constants and all the inter-dependencies the current interface has, with all its complicated rules, are not used at all. Simply obsoleting tzname and such from now at a moment's notice is a bit rigid. I agree it is very unfortunate that localtime and such need to set tzname etc. Issue History Date Modified Username Field Change ====================================================================== 2023-11-18 00:16 Guy Harris New Issue 2023-11-18 00:16 Guy Harris Name => Guy Harris 2023-11-18 00:16 Guy Harris Section => N/A 2023-11-18 00:16 Guy Harris Page Number => N/A 2023-11-18 00:16 Guy Harris Line Number => N/A 2023-11-20 01:03 Don Cragun Note Added: 0006573 2023-11-20 01:04 Don Cragun Relationship added related to 0001253 2023-11-20 17:10 kre Note Added: 0006576 2023-11-22 19:40 Guy Harris Note Added: 0006583 2023-11-22 20:12 Guy Harris Note Added: 0006584 2023-11-22 20:35 steffen Note Added: 0006585 2023-11-22 20:37 steffen Note Added: 0006586 2023-11-22 21:07 Guy Harris Note Added: 0006587 2023-11-23 23:19 steffen Note Added: 0006588 ======================================================================