Changeset 15913 in project for chicken


Ignore:
Timestamp:
09/16/09 07:03:22 (10 years ago)
Author:
kon
Message:

'local-timezone-abbreviation' wasn't using the current time so tz-name constant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/posixunix.scm

    r15813 r15913  
    20462046  (foreign-lambda* c-string ()
    20472047   "\n#if !defined(__CYGWIN__) && !defined(__SVR4) && !defined(__uClinux__) && !defined(__hpux__)\n"
    2048    "time_t clock = (time_t)0;"
     2048   "time_t clock = time(NULL);"
    20492049   "struct tm *ltm = C_localtime(&clock);"
    20502050   "char *z = ltm ? (char *)ltm->tm_zone : 0;"
Note: See TracChangeset for help on using the changeset viewer.