[SV #38945] Copy the entire buffer back when overwriting CR

This commit is contained in:
Paul Smith
2013-05-26 14:41:45 -04:00
parent 2fc0f614be
commit c11024b3b3
4 changed files with 12 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
2013-05-26 Paul Smith <psmith@gnu.org>
* read.c (readline): To be safe, move the entire buffer if we
detect a CR. Fixes Savannah bug #38945.
* job.c (new_job): Compare OUT to the beginning of the OUT
var/function, not IN. Fixes Savannah bug #39035.