shithub: mc

Download patch

ref: 3dd66ec7cb4541a8909e2e4fc6da8d733f1ae0db
parent: 884b1fe78bbc719a817c9d0070ee5e594e14a8b4
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Oct 10 08:38:35 EDT 2014

Fix libdate to compile with libstd split

--- 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 @@
 	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)