summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index c72203c2221..67ebdd99ed6 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -251,7 +251,7 @@ update_path (const char *path, const char *key)
char *result, *p;
const int len = strlen (std_prefix);
- if (! strncmp (path, std_prefix, len)
+ if (! filename_ncmp (path, std_prefix, len)
&& (IS_DIR_SEPARATOR(path[len])
|| path[len] == '\0')
&& key != 0)