bug#32329: call-with-input-file and call-with-output-file should use textual ports

2018-08-02 Thread Mark H Weaver
Hi Göran, Göran Weinholt writes: > the call-with-input-file and call-with-output-file procedures in (rnrs > io simple) should open textual ports. In Guile 2.2.4, they open binary > ports: > > (define (call-with-input-file filename proc) > (call-with-port (open-file-input-port filename) pro

bug#32329: call-with-input-file and call-with-output-file should use textual ports

2018-07-31 Thread Göran Weinholt
Hello schemers, the call-with-input-file and call-with-output-file procedures in (rnrs io simple) should open textual ports. In Guile 2.2.4, they open binary ports: (define (call-with-input-file filename proc) (call-with-port (open-file-input-port filename) proc)) (define (call-with-outp