Correct handling of continuation lines. Instead of treating the

backslash as nothing, treat it like a space so that adjacent lines
aren't glued together.

PR:		8479
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
This commit is contained in:
dd 2001-07-02 23:56:01 +00:00
parent 1aa95d9355
commit edba9b52a2
2 changed files with 8 additions and 0 deletions

View File

@ -2040,6 +2040,10 @@ get_line()
cp--;
len--;
}
if (cont_line) {
*++cp = ' ';
len++;
}
*++cp = '\0';
if (len > 0) {
totlen += len;

View File

@ -2040,6 +2040,10 @@ get_line()
cp--;
len--;
}
if (cont_line) {
*++cp = ' ';
len++;
}
*++cp = '\0';
if (len > 0) {
totlen += len;