Mail Archives: djgpp/1999/05/26/23:10:28
On Wed, 26 May 1999 13:10:19 +0300 (IDT), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>`time' cannot be as simple as you seem to think. For starters, it needs
>to support the different time zones, so it needs at least to look at the
>environment variable TZ. DJGPP's version does much more than that, and
>uses a disk-based database for all the different timezone rules.
And, if that database cannot be found, an error will be generated by a
call to open one of the files in it. I haven't checked, but if the
time function used the standard fopen() etc or variants then errno may
be changed. Makes sense.
Davin.
__________________________________________________________
*** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/
- Raw text -