Re: Building sharutils 4.13.4 with MinGW
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Date: Sun, 07 Apr 2013 20:55:56 +0300 > From: Eli Zaretskii <[email protected]> > Cc: [email protected] > > > It is even wrong for Unix, where timezone names can have as much as > > TZNAME_MAX (typically 6) characters, and a couple of current zones in > > the Olsen database have more than 4 characters, let alone a lot of > > historical ones. > > Thanks, I didn't know about TZNAME_MAX. (It doesn't exist on Windows, > FWIW.) For the record: the last sentence is incorrect -- latest versions of Windows headers do define TZNAME_MAX, with a value of 10. But that value is clearly insufficient, because strftime on Windows adds something like "Daylight Time" to the name of the zone, which enlarges it quite a bit.