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:
Dima Dorfman 2001-07-02 23:56:01 +00:00
parent bc0e6469ff
commit 376f839026
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79117
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;