Subject: PR/35410 CVS commit: [netbsd-4] src/bin/sh
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, uwe@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 06/13/2007 10:50:03
The following reply was made to PR bin/35410; it has been noted by GNATS.
From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/35410 CVS commit: [netbsd-4] src/bin/sh
Date: Wed, 13 Jun 2007 10:48:26 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Wed Jun 13 10:48:26 UTC 2007
Modified Files:
src/bin/sh [netbsd-4]: parser.c
Log Message:
Pull up following revision(s) (requested by dsl in ticket #718):
bin/sh/parser.c: revision 1.64
PR/35410: Valeriy E. Ushakov: /bin/sh mishandles shell function definitions
with function names that are not plain words
1. remove the escape annotations from the function name.
2. check if the function has a valid name before storing it.
To generate a diff of this commit:
cvs rdiff -r1.63.2.1 -r1.63.2.2 src/bin/sh/parser.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.