Hi,

Here is a couple of fixes for the 0.08 release.

There is a conflict between the prototype and the declaration
of vsnprintf() that avoids japhar to be compiled on OSes
that do not provide this function.


diff -u include/compat.h.ini include/compat.h
--- include/compat.h.ini        Tue Mar 16 08:44:05 1999
+++ include/compat.h    Tue Mar 16 08:44:52 1999
@@ -57,8 +57,9 @@
 #endif
 
 #ifndef HAVE_VSNPRINTF
+#include <stdio.h> /* For size_t */
 #include <stdarg.h> /* for va_list */
-  int vsnprintf (char *str, long n, const char *format, va_list varlist);
+  int vsnprintf (char *str, size_t n, const char *format, va_list varlist);
 #endif
 
 #ifndef HAVE_STRERROR



Then, there is a typo in lib/libnative/java.util.zip/Makefile.am.
It causes problems if zlib is not already installed on your host.

diff -u lib/libnative/java.util.zip/Makefile.am.ini 
lib/libnative/java.util.zip/Makefile.am
--- lib/libnative/java.util.zip/Makefile.am.ini Tue Mar 16 08:55:43 1999
+++ lib/libnative/java.util.zip/Makefile.am     Tue Mar 16 08:55:58 1999
@@ -25,7 +25,7 @@
 
 INCLUDES += -I$(srcdir)/_stubs -I$(top_srcdir)/include \
        -I$(top_srcdir)/lib/libjni/include \
-       -I$(top_builddir)/lib/libjni/include @OS_DEFINE@ $(ZLIB_INCLUDS)
+       -I$(top_builddir)/lib/libjni/include @OS_DEFINE@ $(ZLIB_INCLUDES)
 
 STUBCLASSES=   java.util.zip.Adler32 java.util.zip.CRC32 java.util.zip.Deflater \
                java.util.zip.Inflater java.util.zip.ZipEntry




Hope that helps,

--Christophe

Reply via email to