Searched hist:214304 (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.1-release/bin/sh/tests/execution/ | ||
H A D | func3.0 | 214304 Sun Oct 24 20:07:15 MDT 2010 jilles sh: Do not allow overriding a special builtin with a function. This is a syntax error. POSIX does not say explicitly whether defining a function with the same name as a special builtin is allowed, but it does say that it is impossible to call such a function. A special builtin can still be overridden with an alias. This commit is part of a set of changes that will ensure that when something looks like a special builtin to the parser, it is one. (Not the other way around, as it remains possible to call a special builtin named by a variable or other substitution.) Exp-run done by: pav (with some other sh(1) changes) |
/freebsd-10.1-release/bin/sh/ | ||
H A D | parser.c | diff 214304 Sun Oct 24 20:07:15 MDT 2010 jilles sh: Do not allow overriding a special builtin with a function. This is a syntax error. POSIX does not say explicitly whether defining a function with the same name as a special builtin is allowed, but it does say that it is impossible to call such a function. A special builtin can still be overridden with an alias. This commit is part of a set of changes that will ensure that when something looks like a special builtin to the parser, it is one. (Not the other way around, as it remains possible to call a special builtin named by a variable or other substitution.) Exp-run done by: pav (with some other sh(1) changes) |
Completed in 178 milliseconds