diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-08-24 13:14:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-08-24 23:55:51 +0200 |
commit | 94e86a6b67c7a02f5f11358743f3b9f11997059c (patch) | |
tree | 11a28c7422f0fcb366b4d263a4d635f693c83ee0 /doc | |
parent | 5e60bef9802e448924f889d34d95a249b008652c (diff) | |
download | patches-94e86a6b67c7a02f5f11358743f3b9f11997059c.tar patches-94e86a6b67c7a02f5f11358743f3b9f11997059c.tar.gz |
graft: Correctly replace references near the end of the scan buffer.
Fixes <http://bugs.gnu.org/28212>.
Reported by Leo Famulari <leo@famulari.name>.
* guix/build/graft.scm (replace-store-references): When I >= END, check
whether WRITTEN > END and call 'get-bytevector-n!' when it is.
* tests/grafts.scm (buffer-size): New variable.
("replace-store-references, <http://bugs.gnu.org/28212>"): New test.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions