aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/tzset.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-21Cygwin: tzset(1): use GetDynamicTimeZoneInformationCorinna Vinschen1-62/+5
Use official GetDynamicTimeZoneInformation() function instead of scanning the registry for the timezone keyname. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2021-10-29Cygwin: drop support for systems not supporting RFC 4646 localesCorinna Vinschen1-36/+3
i. e. Vista/2008. This drops support for the sr_CS locale. Regenerate LC_MESSAGES and LC_TIME ERA data from more recent Linux Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2020-08-07Cygwin: utils: convert usage() to proper noreturn function throughoutCorinna Vinschen1-6/+3
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-10-23tzset: Fix array length given to GetGeoInfoWCorinna Vinschen1-1/+1
Fixes Coverity CID 66916 Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout optioncygwin-2_5_2-releaseCorinna Vinschen1-3/+1
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-29cygwin: Fix copyright datesCorinna Vinschen1-1/+1
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-08tzset: Check timezone and country case-insensitiveCorinna Vinschen1-2/+2
* tzset.c (main): Check timezone and country case-insensitive. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2014-12-05 * Makefile.in: Add rules to create and depend on tzmap.h.Corinna Vinschen1-489/+11
* tzmap-from-unicode.org: New script to create tzmap.h. * tzmap.h: New auto-generated file. * tzset.c: Drop tzmap from here and include tzmap.h instead. Drop Windows 2000 considerations.
2013-04-23 * Merge in cygwin-64bit-branch.Corinna Vinschen1-10/+13
2012-01-29 * tzset.c: Throughout use wide characters to be locale agnostic.Corinna Vinschen1-470/+470
(main): Call setlocale.
2012-01-29 * Makefile.in (CYGWIN_BINS): Add tzset.Corinna Vinschen1-0/+718
* tzset.c: New tool, new file. * utils.sgml (tzset): New section. * new-features.sgml (ov-new1.7.10): Add tzset. * release/1.7.10: Add tzset.