Fix Racket buffer loading code

Should return #f on failure, not an empty buffer, for consistency with
Chez
This commit is contained in:
Edwin Brady 2020-05-23 17:39:07 +01:00
parent e7d27bc46a
commit ae81e9140a

View File

@ -127,7 +127,7 @@
(define (blodwen-read-bytevec fname)
(with-handlers
([(lambda (x) #t) (lambda (exn) (make-bytevector 0))])
([(lambda (x) #t) (lambda (exn) #f)])
(let* [(h (open-file-input-port fname
(file-options)
(buffer-mode line) #f))