diff options
author | Paul Smith <psmith@gnu.org> | 2000-01-22 05:43:03 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-01-22 05:43:03 +0000 |
commit | 5577cdc2616262ae89c28cda49b5dd5449be472d (patch) | |
tree | 9e5b67f4754ce5a2d64bad43d28a7eaf093b6274 /rule.c | |
parent | b7b83d6398e8e552dd1b9d70d18d7262753e03d4 (diff) | |
download | gunmake-5577cdc2616262ae89c28cda49b5dd5449be472d.tar.gz |
* Merge VMS patches by Hartmut Becker.
Diffstat (limited to 'rule.c')
-rw-r--r-- | rule.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -109,10 +109,14 @@ count_implicit_rule_limits () #ifdef VMS char *p = strrchr (dep->name, ']'); + char *p2; + if (p == 0) + p = strrchr (dep->name, ':'); + p2 = p != 0 ? strchr (dep->name, '%') : 0; #else char *p = strrchr (dep->name, '/'); -#endif char *p2 = p != 0 ? strchr (dep->name, '%') : 0; +#endif ndeps++; if (len > max_pattern_dep_length) @@ -140,7 +144,7 @@ count_implicit_rule_limits () dep->changed = !dir_file_exists_p (name, ""); #ifdef VMS - if (dep->changed && *name == ']') + if (dep->changed && strchr (name, ':') != 0) #else if (dep->changed && *name == '/') #endif |