diff --git a/collects/mzlib/port.ss b/collects/mzlib/port.ss index 1c705cf..9cb9d7f 100644 --- a/collects/mzlib/port.ss +++ b/collects/mzlib/port.ss @@ -496,10 +496,11 @@ (lambda () (let-values ([(l c p) (port-next-location p)]) (values (and l (+ l (- init-l) line)) - (and c (if (eq? l 1) + (and c (if (equal? l init-l) (+ c (- init-c) col) c)) (and p (+ p (- init-p) pos))))) + void pos)))) ;; Not kill-safe.