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:
Martin Cracauer 2000-08-16 12:23:57 +00:00
parent d753a42598
commit b5803eae6a
1 changed files with 1 additions and 4 deletions

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