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-07-21 17:03:24 +02:00
2017-01-28 18:55:20 +01:00
2017-03-18 00:38:41 +01:00
2015-01-26 21:58:12 +01:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-07-20 19:55:21 +05:30
2017-05-03 16:16:17 +02:00
2017-04-17 23:31:28 +02:00
2015-01-11 23:50:01 +01:00
2017-05-03 16:16:17 +02:00
2017-05-28 23:13:39 +02:00