Module Name: src Committed By: kre Date: Tue May 3 03:16:55 UTC 2016
Modified Files: src/bin/sh: parser.c Log Message: Allow function names to be any shell word not containing '/'. This allows anything that could be a filesystem command to be implemented as a function instead. The restriction on '/' is because of the way that functions are (required to be) searched for relative to PATH searching - a function with a name containing '/' could never be executed, so simply prohibit defining such a thing. ok christos@ To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/bin/sh/parser.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.