* stime.c (scm_mktime): take an optional zone argument.
authorGary Houston <ghouston@arglist.com>
Sat, 12 Apr 1997 20:18:12 +0000 (20:18 +0000)
committerGary Houston <ghouston@arglist.com>
Sat, 12 Apr 1997 20:18:12 +0000 (20:18 +0000)
commitb9525b92bbffe61b53686471e2b13184546080f7
tree9194df197652973ad5ceba7fd2b7e986f53befc2
parent6549522160a5bd3594ccc47f95ea9ac8698fb7e5
* stime.c (scm_mktime): take an optional zone argument.
(scm_localtime): check putenv return value.
(scm_strftime, scm_strptime): moved from posix.c.  move #include
sequences.h too.
stime.h, posix.h: update prototypes.
(bdtime2c, setzone, restorezone): new static procedures.
(scm_mktime, scm_strftime): use them.
(scm_strftime): don't call mktime before strftime.  Use
filltime for return value.
(filltime): convert NULL zname to #f.
* (scm_strptime): return a count of characters consumed, not
the remaining string.

* stime.c (scm_localtime): check HAVE_TM_ZONE and HAVE_TZNAME.
(scm_mktime): likewise.
Declare *tzname[].
Uncomment localtime and mktime.

* configure.in: add AC_STRUCT_TIMEZONE.
libguile/ChangeLog
libguile/Makefile.in
libguile/configure.in
libguile/posix.c
libguile/posix.h
libguile/scmconfig.h.in
libguile/stime.c
libguile/stime.h