Fix strerror() handling for systems which set ANSI_STRING.

Don't print errors if "include" is specified with no arguments.
New test suite for the $(shell ...) function.
This commit is contained in:
Paul Smith
2005-06-27 01:01:07 +00:00
parent d6a7894d3a
commit da1b137e38
9 changed files with 68 additions and 13 deletions

View File

@@ -1482,7 +1482,10 @@ func_shell (char *o, char **argv, const char *funcname UNUSED)
because target_environment hits a loop trying to expand $(var)
to put it in the environment. This is even more confusing when
var was not explicitly exported, but just appeared in the
calling environment. */
calling environment.
envp = target_environment (NILF);
*/
envp = environ;