Commit afc432a9 by Roger Sayle Committed by Roger Sayle

jcf-io.c (java_or_class_file): Use libiberty's lbasename instead of basename to…

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
parent 8aa063fb
2003-02-08 Roger Sayle <roger@eyesopen.com>
* jcf-io.c (java_or_class_file): Use libiberty's lbasename
instead of basename to avoid compiler warnings on Tru64.
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
* gcj.texi: Update to GFDL 1.2.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment