summaryrefslogtreecommitdiff
path: root/lib/date
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-10-10 12:38:35 -0400
committerOri Bernstein <ori@eigenstate.org>2014-10-10 12:38:35 -0400
commit3dd66ec7cb4541a8909e2e4fc6da8d733f1ae0db (patch)
tree6ddf43f211c7265823befa1cef1d2a564b782076 /lib/date
parent884b1fe78bbc719a817c9d0070ee5e594e14a8b4 (diff)
downloadmc-3dd66ec7cb4541a8909e2e4fc6da8d733f1ae0db.tar.gz
Fix libdate to compile with libstd split
Diffstat (limited to 'lib/date')
-rw-r--r--lib/date/zoneinfo.myr4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/date/zoneinfo.myr b/lib/date/zoneinfo.myr
index e4bdd72..9320519 100644
--- a/lib/date/zoneinfo.myr
+++ b/lib/date/zoneinfo.myr
@@ -1,4 +1,6 @@
use std
+use sys
+
use "types.use"
pkg _zoneinfo =
@@ -46,7 +48,7 @@ const findtzoff = {tz, tm
else
for z in zonepath
path = std.pathcat(z, tz)
- if std.stat(path, &sb) == 0
+ if sys.stat(path, &sb) == 0
goto found
;;
std.slfree(path)