diff options
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r-- | gcc/prefix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c index 058e19156c5..6092fbf1987 100644 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -250,7 +250,7 @@ update_path (const char *path, const char *key) const int len = strlen (std_prefix); if (! filename_ncmp (path, std_prefix, len) - && (IS_DIR_SEPARATOR(path[len]) + && (IS_DIR_SEPARATOR (path[len]) || path[len] == '\0') && key != 0) { |