diff options
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r-- | gcc/java/jcf-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 5d6ef25..3b10f39 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -292,7 +292,7 @@ compare_path (const void *key, const void *entry) static int java_or_class_file (const struct dirent *entry) { - const char *base = basename (entry->d_name); + const char *base = lbasename (entry->d_name); return (fnmatch ("*.java", base, 0) == 0 || fnmatch ("*.class", base, 0) == 0); } |