Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 01/13/2007 18:58:26
Module Name:	src
Committed By:	christos
Date:		Sat Jan 13 18:58:26 UTC 2007

Modified Files:
	src/bin/sh: parser.c

Log Message:
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 -r1.64 src/bin/sh/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.