summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-02-05 07:50:47 +0000
committerPaul Smith <psmith@gnu.org>2000-02-05 07:50:47 +0000
commit90f23f1ea6e436d681db81aa80edb7a763de2b12 (patch)
tree46bec7ceab500e7b088994e773d336d5c1f89915 /dir.c
parent9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b (diff)
downloadgunmake-90f23f1ea6e436d681db81aa80edb7a763de2b12.tar.gz
* Updates for VMS, Windows, and DOS ports.
* Clean up some warnings.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index ccc5163..caa8042 100644
--- a/dir.c
+++ b/dir.c
@@ -708,7 +708,7 @@ file_impossible (filename)
#ifdef VMS
dirend = strrchr (p, ']');
if (dirend == 0)
- dirend = strrchr (name, ':');
+ dirend = strrchr (p, ':');
dirend++;
if (dirend == (char *)1)
dir = find_directory ("[]");