diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-02-08 18:49:22 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-08 18:49:22 +0000 |
commit | afc432a9ae406cf5a859b46624e10bf96762f5cc (patch) | |
tree | 0d0e72320abe3a4f2af8890093ad410c578de95c /gcc/java/jcf-io.c | |
parent | 8aa063fb462948401678a3b86e8c1512d57e15ba (diff) | |
download | gcc-afc432a9ae406cf5a859b46624e10bf96762f5cc.zip gcc-afc432a9ae406cf5a859b46624e10bf96762f5cc.tar.gz gcc-afc432a9ae406cf5a859b46624e10bf96762f5cc.tar.bz2 |
jcf-io.c (java_or_class_file): Use libiberty's lbasename instead of basename to avoid compiler warnings on Tru64.
* jcf-io.c (java_or_class_file): Use libiberty's lbasename
instead of basename to avoid compiler warnings on Tru64.
From-SVN: r62582
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); } |