Disable part of my 8-bits fixes from December 1999.
Serious fix still needed, see discussion on -current (Subject: /bin/sh dumps core with here-document of 8bit text) Problem in this code originally spotted by Jun Kuriyama <kuriyama@FreeBSD.org>
This commit is contained in:
parent
42bbf4dc06
commit
1483cf9cb7
@ -909,10 +909,7 @@ readtoken1(firstc, syntax, eofmark, striptabs)
|
||||
for (;;) { /* until end of line or end of word */
|
||||
CHECKSTRSPACE(3, out); /* permit 3 calls to USTPUTC */
|
||||
|
||||
if (c < 0 && c != PEOF)
|
||||
synentry = CWORD;
|
||||
else
|
||||
synentry = syntax[c];
|
||||
synentry = syntax[c];
|
||||
|
||||
switch(synentry) {
|
||||
case CNL: /* '\n' */
|
||||
|
Loading…
Reference in New Issue
Block a user