aboutsummaryrefslogtreecommitdiffstats
path: root/tzfile.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tzfile.scm')
-rwxr-xr-x[-rw-r--r--]tzfile.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/tzfile.scm b/tzfile.scm
index 7495dce..ed8f2c5 100644..100755
--- a/tzfile.scm
+++ b/tzfile.scm
@@ -33,7 +33,7 @@
(define (tzfile:read-bool port)
(let ((c (read-char port)))
- (if (eof-object? c) c (if (zero? (char->integer c)) #f #t))))
+ (if (eof-object? c) c (not (zero? (char->integer c))))))
;@
(define (tzfile:read path)
(call-with-open-ports
@@ -82,8 +82,7 @@
(do ((idx 0 (+ 1 idx)))
((>= idx ttisgmtcnt))
(vector-set! (vector-ref mode-table idx) 4 (tzfile:read-bool port)))
- (cond ((not (eof-object? (peek-char port)))
- (slib:warn 'tzfile:read "bytes left at end")))
+ ;;(cond ((not (eof-object? (peek-char port))) (slib:warn 'tzfile:read "bytes left at end of" path (peek-char port))))
(do ((idx 0 (+ 1 idx)))
((>= idx ttisstdcnt))
(let ((rec (vector-ref mode-table idx)))