gcc/libjava
Dodji Seketeli 4531d13af5 Use accessor functions to manipulate xmlOutputBuffer
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
2012-08-09 12:33:48 +02:00
..
classpath Use accessor functions to manipulate xmlOutputBuffer 2012-08-09 12:33:48 +02:00
contrib
gcj Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
gnu Restore HAVE_INET6 tests (PR libgcj/52645) 2012-04-05 10:04:40 +00:00
include * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Fix whitespace. 2012-07-18 21:00:33 +02:00
java re PR libgcj/52694 (bootstrap failure: libjava/java/io/natVMConsole.cc:35:20: error: 'IUCL C' was not declared in this scope) 2012-03-26 16:24:33 +00:00
javax Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
libltdl
org
scripts
sun
sysdep Fix typo. 2012-06-20 09:48:40 -04:00
testsuite Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
aclocal.m4
boehm.cc
ChangeLog eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
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
configure re PR bootstrap/52700 (lib* configure fails on --enable-symvers=gnu-versioned-namespace.) 2012-05-21 17:34:25 +00:00
configure.ac re PR bootstrap/52700 (lib* configure fails on --enable-symvers=gnu-versioned-namespace.) 2012-05-21 17:34:25 +00:00
configure.host Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
COPYING
darwin.cc
defineclass.cc defineclass.cc (MAJOR_1_7, MINOR_1_7): New. 2012-04-23 13:33:32 +00:00
ecjx.cc
exception.cc eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
gij.cc
HACKING
headers.txt
interpret-run.cc
interpret.cc
jni-libjvm.cc
jni.cc
jvmti.cc
libgcj_bc.c
LIBGCJ_LICENSE
libgcj-noncore-dummy.def
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in
libgcj.ver eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
libtool-version
link.cc
Makefile.am Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
Makefile.in Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
mauve-libgcj
mingwld.m4
NEWS
no-threads.cc
nogc.cc
pkg.m4
posix-threads.cc
posix.cc
prims.cc
README
shlibpath.m4
sources.am Merge GNU Classpath 0.99 into libjava. 2012-03-23 15:19:26 +00:00
stacktrace.cc
standard.omit.in
THANKS
verify.cc
win32-threads.cc
win32.cc

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.