Use bytes consistently in regexmatch.

Inconsistency found by Tobias Pape, see GH issue #792.
This commit is contained in:
Vincent St-Amour 2014-10-08 11:58:42 -04:00
parent f0bd4e6d71
commit 290329e5fa

View File

@ -40,7 +40,7 @@
(cond ((eof-object? line) #f)
(else
(set! phonelines (cons line phonelines))
(loop (read-line)))))
(loop (read-bytes-line)))))
(set! phonelines (reverse phonelines))
(do ([n (string->number n) (sub1 n)])
((negative? n))