Ludovic Courtès 94e86a6b67
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.
2017-08-24 23:55:51 +02:00
..
2017-01-26 13:49:56 +01:00
2015-11-26 22:35:01 +01:00
2015-10-19 10:10:47 +02:00
2016-09-01 13:40:49 +03:00
2017-03-18 00:39:49 +01:00
2017-06-18 00:14:07 +02:00
2017-06-15 17:03:19 +02:00
2017-04-18 23:17:17 +02:00