From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7af6bdd3271f45bf X-Google-Attributes: gidfee84,public X-Google-Thread: 10259a,7af6bdd3271f45bf X-Google-Attributes: gid10259a,public X-Google-ArrivalTime: 1994-04-15 21:32:47 PST Xref: gmd.de comp.lang.perl:18253 comp.unix.osf.osf1:2894 Path: gmd.de!nntp.gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!hrz-ws11.hrz.uni-kassel.de!news.th-darmstadt.de!fauern!xlink.net!howland.reston.ans.net!agate!ihnp4.ucsd.edu!news.service.uci.edu!draco.acs.uci.edu!iglesias From: iglesias@draco.acs.uci.edu (Mike Iglesias) Newsgroups: comp.lang.perl,comp.unix.osf.osf1 Subject: Re: Perl gives SegFault on DEC Alpha. Date: 16 Apr 1994 04:32:47 GMT Organization: University of California, Irvine Distribution: na Message-ID: <2onppf$fve@news.service.uci.edu> References: NNTP-Posting-Host: draco.acs.uci.edu Make sure the enclosed patch is in your copy of the sources. There are a couple more patches floating around that probably should be in there as well, but I can't find my copies of them. Maybe we should get the patches together and put them on one of the Alpha archives? -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 856-6926 Office of Academic Computing FAX: (714) 725-2069 Distributed Computing Support *** toke.c.pl36 Wed Mar 3 16:00:50 1993 --- toke.c Wed Mar 3 18:25:44 1993 *************** *** 1749,1765 **** arg->arg_type = O_ITEM; arg[1].arg_type = A_DOUBLE; arg[1].arg_ptr.arg_str = str_smake(str); ! d = scanident(d,bufend,buf); (void)stabent(buf,TRUE); /* make sure it's created */ for (; d < e; d++) { if (*d == '\\') d++; else if (*d == '$' && d[1] && d[1] != '|' && d[1] != ')') { ! d = scanident(d,bufend,buf); (void)stabent(buf,TRUE); } else if (*d == '@') { ! d = scanident(d,bufend,buf); if (strEQ(buf,"ARGV") || strEQ(buf,"ENV") || strEQ(buf,"SIG") || strEQ(buf,"INC")) (void)stabent(buf,TRUE); --- 1749,1765 ---- arg->arg_type = O_ITEM; arg[1].arg_type = A_DOUBLE; arg[1].arg_ptr.arg_str = str_smake(str); ! d = scanident(d,e,buf); (void)stabent(buf,TRUE); /* make sure it's created */ for (; d < e; d++) { if (*d == '\\') d++; else if (*d == '$' && d[1] && d[1] != '|' && d[1] != ')') { ! d = scanident(d,e,buf); (void)stabent(buf,TRUE); } else if (*d == '@') { ! d = scanident(d,e,buf); if (strEQ(buf,"ARGV") || strEQ(buf,"ENV") || strEQ(buf,"SIG") || strEQ(buf,"INC")) (void)stabent(buf,TRUE);