From e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 27 May 2019 22:27:02 +0200 Subject: lzlib: Adjust 'lz-compress-read' docstring. * guix/lzlib.scm (lz-compress-read): The integer return can be zero; adjust docstring accordingly. --- guix/lzlib.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/lzlib.scm') 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))) -- cgit v1.2.3