Fixes <http://bugs.gnu.org/19756>. Reported by <sleep_walker@suse.cz>. * guix/serialization.scm (currently-restored-file): New variable. (get-bytevector-n*): New procedure. (read-int, read-long-long, read-string, read-latin1-string, read-contents): Use it instead of 'get-bytevector-n'. (restore-file): Parameterize 'currently-restored-file' and set it. * tests/nar.scm ("restore-file with incomplete input"): New test. |
||
|---|---|---|
| .. | ||
| base32.scm | ||
| base64.scm | ||
| build-utils.scm | ||
| builders.scm | ||
| cpan.scm | ||
| derivations.scm | ||
| gexp.scm | ||
| guix-archive.sh | ||
| guix-authenticate.sh | ||
| guix-build.sh | ||
| guix-daemon.sh | ||
| guix-download.sh | ||
| guix-gc.sh | ||
| guix-hash.sh | ||
| guix-lint.sh | ||
| guix-package.sh | ||
| guix-register.sh | ||
| guix-system.sh | ||
| hash.scm | ||
| lint.scm | ||
| monads.scm | ||
| nar.scm | ||
| packages.scm | ||
| pk-crypto.scm | ||
| pki.scm | ||
| profiles.scm | ||
| pypi.scm | ||
| records.scm | ||
| sets.scm | ||
| signing-key.pub | ||
| signing-key.sec | ||
| snix.scm | ||
| store.scm | ||
| substitute-binary.scm | ||
| syscalls.scm | ||
| test.drv | ||
| ui.scm | ||
| union.scm | ||
| utils.scm | ||