This is a fix to prepare the xmlj_io.c file of gnu classpath to a coming API change in libxml2. Basically, we were previously accessing fields inside the xmlOutputBuffer struct of libxml2. In a coming version of libxml2, that won't be possible anymore. Client code will have to use accessor functions instead. For the gory details, there is an interestin note of Daniel Veillard (author of libxml2) at https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00007.html. This patch defines too accessor macros that, depending on the version of libxml2 we are using will either access the fields of xmlOutputBuffer directly, or use the new accessor function. Tested on x86_64-unknown-linux-gnu against trunk. libjava/classpath/ * native/jni/xmlj/xmlj_io.c (GET_XML_OUTPUT_BUFFER_CONTENT) (GET_XML_OUTPUT_BUFFER_SIZE): New macros. (xmljOutputWriteCallback): Use them. From-SVN: r190249 |
||
---|---|---|
.. | ||
classpath | ||
contrib | ||
gcj | ||
gnu | ||
include | ||
java | ||
javax | ||
libltdl | ||
org | ||
scripts | ||
sun | ||
sysdep | ||
testsuite | ||
COPYING | ||
ChangeLog | ||
ChangeLog-1998 | ||
ChangeLog-1999 | ||
ChangeLog-2000 | ||
ChangeLog-2001 | ||
ChangeLog-2002 | ||
ChangeLog-2003 | ||
ChangeLog-2004 | ||
ChangeLog-2005 | ||
ChangeLog-2006 | ||
ChangeLog-2007 | ||
ChangeLog-2008 | ||
ChangeLog-2009 | ||
ChangeLog-2010 | ||
ChangeLog-2011 | ||
HACKING | ||
LIBGCJ_LICENSE | ||
Makefile.am | ||
Makefile.in | ||
NEWS | ||
README | ||
THANKS | ||
aclocal.m4 | ||
boehm.cc | ||
configure | ||
configure.ac | ||
configure.host | ||
darwin.cc | ||
defineclass.cc | ||
ecjx.cc | ||
exception.cc | ||
gij.cc | ||
headers.txt | ||
interpret-run.cc | ||
interpret.cc | ||
jni-libjvm.cc | ||
jni.cc | ||
jvmti.cc | ||
libgcj-noncore-dummy.def | ||
libgcj-test.spec.in | ||
libgcj.pc.in | ||
libgcj.spec.in | ||
libgcj.ver | ||
libgcj_bc.c | ||
libtool-version | ||
link.cc | ||
mauve-libgcj | ||
mingwld.m4 | ||
no-threads.cc | ||
nogc.cc | ||
pkg.m4 | ||
posix-threads.cc | ||
posix.cc | ||
prims.cc | ||
shlibpath.m4 | ||
sources.am | ||
stacktrace.cc | ||
standard.omit.in | ||
verify.cc | ||
win32-threads.cc | ||
win32.cc |
README
This is libgcj: the runtime library for gcj, the GNU Compiler for Java. libgcj provides a partial implementation of the Java Class Libraries. libgcj is free software. See the file LIBGCJ_LICENSE for copying permission. DOCUMENTATION ============= All documentation, including detailed installation and usage instructions, can be found on the gcj web pages at this URL: http://gcc.gnu.org/java/ BUGS ==== Please refer to http://gcc.gnu.org/bugs/ on when and how to submit a bug report.