diff options
author | Robert Vollmert <rob@vllmrt.net> | 2019-06-16 16:18:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-20 14:07:01 +0200 |
commit | 3149c002644b927e0245d237cdda3a6aeca00e4a (patch) | |
tree | 0c495ec745fa95d2ff3db07f5e59b3b06a667da2 /tests/cve-sample.xml | |
parent | c050f1870016a6bf6e79aee8e5abe5da366fa210 (diff) | |
download | patches-3149c002644b927e0245d237cdda3a6aeca00e4a.tar patches-3149c002644b927e0245d237cdda3a6aeca00e4a.tar.gz |
utils: canonical-newline-port: Fix handling of carriage return at buffer end.
Prior to this change the added test fails for me locally at byte
1024. It might depend on some default buffer sizes.
Fixes <https://bugs.gnu.org/35863>.
* tests/utils.scm ("canonical-newline-port-1024"): Add test.
* guix/utils.scm (canonical-newline-port): Correct comments on CR/LF.
Remove CR even when they're at the end of the buffer.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/cve-sample.xml')
0 files changed, 0 insertions, 0 deletions