>>>>> On Fri, 28 Jul 2000 12:09:51 +0900
>>>>> Jun Kuriyama <[EMAIL PROTECTED]> said:

kuriyama> Shell script which contains here-document of 8bit text sometimes dumps
kuriyama> core.  For example, please test this script in 4.1 or -current.

I'm using this for workaround on IMASY's main server.  3.5-RELEASE or
later have this problem.

--- bin/sh/parser.c.orig        Mon Mar 20 19:51:04 2000
+++ bin/sh/parser.c     Fri Jun 30 17:15:38 2000
@@ -909,9 +909,11 @@
                for (;;) {      /* until end of line or end of word */
                        CHECKSTRSPACE(3, out);  /* permit 3 calls to USTPUTC */
 
+#if 0
                        if (c < 0 && c != PEOF)
                                synentry = CWORD;
                        else
+#endif
                                synentry = syntax[c];
 
                        switch(synentry) {

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
http://www.imasy.org/~ume/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to