From 5bea21e81ed516440e34e480f2c33ca41aa8c597 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:36 -0800 Subject: Import Upstream version 3a4 --- tzfile.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tzfile.scm') diff --git a/tzfile.scm b/tzfile.scm index 9354743..7495dce 100644 --- a/tzfile.scm +++ b/tzfile.scm @@ -92,6 +92,6 @@ (cond ((>= pos (bytes-length abbrevs)) (slib:warn 'tzfile:read "format error" abbrevs) #f) ((zero? (byte-ref abbrevs pos)) - (substring abbrevs (vector-ref rec 0) pos)) + (subbytes abbrevs (vector-ref rec 0) pos)) (else (loop (+ 1 pos)))))))) (list path mode-table leap-seconds transition-times transition-types))))) -- cgit v1.2.3