2000-12-07 Mo DeJong <mdejong@redhat.com>
* jcf-io.c (find_class): Correct the logic that tests to see if a
.java file is newer than its .class file. The compiler was
incorrectly printing a warning when file mod times were equal.
(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00530.html)
From-SVN: r38177
* zipfile.h (ZipDirectory): Declare size, uncompressed_size,
filestart and filename_length as int values.
+2000-12-07 Mo DeJong <mdejong@redhat.com>
+
+ * jcf-io.c (find_class): Correct the logic that tests to see if a
+ .java file is newer than its .class file. The compiler was
+ incorrectly printing a warning when file mod times were equal.
+
2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
* jvgenmain.c: Use ISPRINT not isascii.
source file instead.
There should be a flag to allow people have the class file picked
up no matter what. FIXME. */
- if (! java && ! class && java_buf.st_mtime >= class_buf.st_mtime)
+ if (! java && ! class && java_buf.st_mtime > class_buf.st_mtime)
{
char *stripped_class_name = xstrdup (classname);
int i = strlen (stripped_class_name);