summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-06-27 01:01:07 +0000
committerPaul Smith <psmith@gnu.org>2005-06-27 01:01:07 +0000
commit59b021af984422c4a59b465c2cd95a66385edd4a (patch)
tree14a9a1f8b975eaae55a686ff2dc6d602c201b2aa /function.c
parent4206fde5ef0bc485aedb6821179bdb016914cf89 (diff)
downloadmake-59b021af984422c4a59b465c2cd95a66385edd4a.tar.gz
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.
Diffstat (limited to 'function.c')
-rw-r--r--function.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/function.c b/function.c
index 983df74f..0772739f 100644
--- a/function.c
+++ b/function.c
@@ -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;