/[guile]/guile/guile-core/libguile/stime.c
ViewVC logotype

Diff of /guile/guile-core/libguile/stime.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.79 by ela, Thu May 29 14:39:13 2003 UTC revision 1.80 by kryde, Wed Sep 3 00:01:17 2003 UTC
# Line 647  SCM_DEFINE (scm_strptime, "strptime", 2, Line 647  SCM_DEFINE (scm_strptime, "strptime", 2,
647    tm_init (tm_yday);    tm_init (tm_yday);
648  #undef tm_init  #undef tm_init
649    
650      /* GNU glibc strptime() "%s" is affected by the current timezone, since it
651         reads a UTC time_t value and converts with localtime_r() to set the tm
652         fields, hence the use of SCM_DEFER_INTS.  */
653    t.tm_isdst = -1;    t.tm_isdst = -1;
654    SCM_DEFER_INTS;    SCM_DEFER_INTS;
655    if ((rest = strptime (str, fmt, &t)) == NULL)    if ((rest = strptime (str, fmt, &t)) == NULL)

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26