diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-05-27 22:27:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-27 22:47:23 +0200 |
commit | e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4 (patch) | |
tree | 931c59d0c00d79b4dd4623b979f2861ea43eb46b | |
parent | 8916034a347dd9a11b89678c9112c10ed8681e9b (diff) | |
download | guix-e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4.tar guix-e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4.tar.gz |
lzlib: Adjust 'lz-compress-read' docstring.
* guix/lzlib.scm (lz-compress-read): The integer return can be zero;
adjust docstring accordingly.
-rw-r--r-- | guix/lzlib.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/lzlib.scm b/guix/lzlib.scm index a6dac46049..deb900f352 100644 --- a/guix/lzlib.scm +++ b/guix/lzlib.scm @@ -168,7 +168,7 @@ so use it only when needed. " (let ((proc (lzlib-procedure int "LZ_compress_read" (list '* '* int)))) (lambda* (encoder lzfile-bv #:optional (start 0) (count (bytevector-length lzfile-bv))) "Read up to COUNT bytes from the encoder stream, storing the results in LZFILE-BV. -Return the number of uncompressed bytes written, a strictly positive integer." +Return the number of uncompressed bytes written, a positive integer." (let ((ret (proc (lz-encoder->pointer encoder) (bytevector->pointer lzfile-bv start) count))) |