Subject: PR/35410 CVS commit: src/bin/sh
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, uwe@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 01/13/2007 19:00:04
The following reply was made to PR bin/35410; it has been noted by GNATS.
From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/35410 CVS commit: src/bin/sh
Date: Sat, 13 Jan 2007 18:58:26 +0000 (UTC)
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.