summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/stime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/stime.c b/libguile/stime.c
index 36d34d450..591b20c8c 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -532,7 +532,8 @@ SCM_DEFINE (scm_mktime, "mktime", 1, 1, 0,
scm_frame_free ((char *)lt.tm_zone);
#endif
- SCM_CRITICAL_SECTION_START;
+ scm_frame_critical_section (SCM_BOOL_F);
+
oldenv = setzone (zone, SCM_ARG2, FUNC_NAME);
#ifdef LOCALTIME_CACHE
tzset ();
@@ -585,7 +586,6 @@ SCM_DEFINE (scm_mktime, "mktime", 1, 1, 0,
result = scm_cons (scm_from_long (itime),
filltime (&lt, zoff, zname));
- SCM_CRITICAL_SECTION_END;
if (zname)
free (zname);