From 203dbcb229fac28bf5051d619f3d43ffca0b74db Mon Sep 17 00:00:00 2001 From: Kaz Kyheku Date: Wed, 5 Feb 2020 19:48:58 -0800 Subject: doc: file-get-buf opens a binary stream. * txr.1: It is wrongly documented that file-get-buf and comman-get-buf use text streams; they use binary streams. --- txr.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txr.1 b/txr.1 index 9da947e5..c94e2fb0 100644 --- a/txr.1 +++ b/txr.1 @@ -24953,7 +24953,7 @@ adjusts the length of the buffer to match the position that is returned. .desc The .code file-get-buf -function opens a text stream over the file indicated by the string argument +function opens a binary stream over the file indicated by the string argument .meta name for reading. The entire file is read and its contents are returned as a buffer object. The buffer's length corresponds to the number of bytes @@ -24961,7 +24961,7 @@ read from the file. The .code command-get -function opens text stream over an input command pipe created for +function opens a binary stream over an input command pipe created for the command string .metn cmd , as if by the -- cgit v1.2.3