summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-06-04 06:30:27 +0000
committerPaul Smith <psmith@gnu.org>2009-06-04 06:30:27 +0000
commit81f3e4babd128f6740d05b371122762924522fb6 (patch)
treeeeb19eaf947791c834620ff72c9b80e77d9fcc8b /misc.c
parent5b4d419476e9fbda8ea26017f6ec15956d103ed9 (diff)
downloadgunmake-81f3e4babd128f6740d05b371122762924522fb6.tar.gz
- Modify access of config and gnulib Savannah modules to use GIT
- Fix Savannah bug #24655. - Fix Savannah bug #24588. - Fix Savannah bug #24277. - Fix Savannah bug #25697. - Fix Savannah bug #25694. - Fix Savannah bug #25460. - Fix Savannah bug #26207. - Fix Savannah bug #25712. - Fix Savannah bug #26593. - Fix various doc issues.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 6bd8208..078da25 100644
--- a/misc.c
+++ b/misc.c
@@ -112,11 +112,13 @@ collapse_continuations (char *line)
/* Skip the newline. */
++in;
- /* If the newline is quoted, discard following whitespace
- and any preceding whitespace; leave just one space. */
+ /* If the newline is escaped, discard following whitespace leaving just
+ one space. POSIX requires that each backslash/newline/following
+ whitespace sequence be reduced to a single space. */
if (backslash)
{
in = next_token (in);
+ /* Removing this loop will fix Savannah bug #16670: do we want to? */
while (out > line && isblank ((unsigned char)out[-1]))
--out;
*out++ = ' ';