guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: lzlib: Adjust 'lz-compress-read' docstring.


From: guix-commits
Subject: 01/09: lzlib: Adjust 'lz-compress-read' docstring.
Date: Mon, 27 May 2019 16:49:17 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4
Author: Ludovic Courtès <address@hidden>
Date:   Mon May 27 22:27:02 2019 +0200

    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(-)

diff --git a/guix/lzlib.scm b/guix/lzlib.scm
index a6dac46..deb900f 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]