summaryrefslogtreecommitdiff
path: root/guix/lzlib.scm
Commit message (Collapse)AuthorAge
* lzlib: Adjust 'lz-compress-read' docstring.Ludovic Courtès2019-05-27
| | | | | * guix/lzlib.scm (lz-compress-read): The integer return can be zero; adjust docstring accordingly.
* guix: Simplify and robustify lzread!.Pierre Neidhardt2019-05-07
| | | | | | | | | * guix/lzlib.scm (lzread!): Do it. Previously lzread! would fail if COUNT was bigger than (lz-decompress-write-size). This is possible if a previous call to lzread! didn't empty the LZ_decompress input buffer (e.g. BV was too small to fit all the data).
* Add (guix lzlib).Pierre Neidhardt2019-05-06
* guix/lzlib.scm, tests/lzlib.scm: New files. * Makefile.am (MODULES): Add guix/lzlib.scm. (SCM_TESTS): Add tests/lzlib.scm. * m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro. * configure.ac (LIBLZ_LIBDIR): Use it. Define and substitute 'LIBLZ'. * guix/config.scm.in (%liblz): New variable. * guix/self.scm (make-config.scm): Add TODO comment. Co-authored-by: Ludovic Courtès <ludo@gnu.org>