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:
cracauer 2000-08-16 12:23:57 +00:00
parent 42bbf4dc06
commit 1483cf9cb7

View File

@ -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' */