[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building sharutils 4.13.4 with MinGW
From: |
Eli Zaretskii |
Subject: |
Re: Building sharutils 4.13.4 with MinGW |
Date: |
Mon, 08 Apr 2013 18:56:41 +0300 |
> Date: Sun, 07 Apr 2013 20:55:56 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
>
> > 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.