NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39873: cvs rdiff -r1.69 -r1.70 src/bin/sh/parser.c break case's ')' delim



>Number:         39873
>Category:       bin
>Synopsis:       /bin/sh occasionally misinterpret case's ')' delim as 
>unexpected
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 07 02:40:00 +0000 2008
>Originator:     Markus W. Kilbinger
>Release:        NetBSD 5.99.01
>Organization:
        
>Environment:
        
        
System: NetBSD 5.99.01 NetBSD 5.99.01 (Q) #12: Thu Nov 6 23:57:32 MET 2008 
root@q:/u/NetBSD/src/sys/arch/amd64/compile/Q amd64
Architecture: x86_64
Machine: amd64
>Description:
        Above mentioned change to sh's parser.c may lead to
        misinterpretation of case's ')' delimiter. I've found that
        while seeing 'build.sh ... distribution' failing with
        following complex sh command (one line!) out of make:

if test "make" = "gettext"; then  /bin/sh `case 
"/usr/u/NetBSD/src/tools/gmake/../../gnu/dist/gmake/config/mkinstalldirs" in 
/*) echo 
"/usr/u/NetBSD/src/tools/gmake/../../gnu/dist/gmake/config/mkinstalldirs" ;; *) 
echo 
"..//usr/u/NetBSD/src/tools/gmake/../../gnu/dist/gmake/config/mkinstalldirs" ;; 
esac` /usr/u/NetBSD/tools-i386-ustix/share/gettext/po;  for file in 
Makefile.in.in Makevars remove-potcdate.sin  quot.sed boldquot.sed 
en%quot.header@localhost en%boldquot.header@localhost insert-header.sin 
Rules-quot  ; do  /usr/u/NetBSD/tools-i386-ustix/bin/i386--netbsdelf-install -c 
-p -r -m 644 /usr/u/NetBSD/src/tools/gmake/../../gnu/dist/gmake/po/$file  
/usr/u/NetBSD/tools-i386-ustix/share/gettext/po/$file;  done;  else  : ;  fi

>How-To-Repeat:
        Run the above sh command with /bin/sh containing parser.c
        v1.70.
>Fix:
        Unknown.
        WR: Revert parser.c to v1.69

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index