From a69c9fb665459e2bfdbda1bf80741a0af31a7faf Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:06:40 -0800 Subject: New upstream version 3b5 --- tzfile.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 tzfile.scm (limited to 'tzfile.scm') diff --git a/tzfile.scm b/tzfile.scm old mode 100644 new mode 100755 index 7495dce..ed8f2c5 --- 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))) -- cgit v1.2.3