summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-02-28 07:48:22 +0000
committerPaul Smith <psmith@gnu.org>2005-02-28 07:48:22 +0000
commit62203adee1fb34ffb2d7ddc69b51c8e3acee0e45 (patch)
treeb33081457bdf9207b45add40ba56fdeccf63fe6f /variable.c
parent2b4aac0a79b57635f74a96c5d74c18b46a9f3865 (diff)
downloadmake-62203adee1fb34ffb2d7ddc69b51c8e3acee0e45.tar.gz
* New feature: -L option
* New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry)
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 495aef45..4c383160 100644
--- a/variable.c
+++ b/variable.c
@@ -1048,7 +1048,7 @@ do_variable_definition (const struct floc *flocp, const char *varname,
if ((origin == o_file || origin == o_override)
&& strcmp (varname, "SHELL") == 0)
{
- char shellpath[PATH_MAX];
+ PATH_VAR (shellpath);
extern char * __dosexec_find_on_path (const char *, char *[], char *);
/* See if we can find "/bin/sh.exe", "/bin/sh.com", etc. */