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 Insert libgcj's Python module directory at the start of the search 2011-02-14 16:00:28 +00:00
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 Additional fixes for FreeBSD-10 build: 2011-11-21 20:22:35 +01:00
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 re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) 2010-12-06 00:50:04 +00:00
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 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
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 configure.ac (libgcj_ld_export_all): Set for windows native targets to export-all-symbols. 2011-04-08 16:16:38 +02:00
interpret-run.cc
interpret.cc re PR libgcj/51500 (106 unexpected libjava testsuite failures with mingw32) 2012-02-01 11:46:36 +01:00
jni-libjvm.cc
jni.cc
jvmti.cc Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
libgcj_bc.c
LIBGCJ_LICENSE
libgcj-noncore-dummy.def
libgcj-test.spec.in
libgcj.pc.in
libgcj.spec.in Fix PR java/21206: Unrecognized option '-Wl,-rpath' for jv-convert 2011-02-04 05:51:57 +00:00
libgcj.ver eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
libtool-version libtool-version: Bump soversion. 2011-07-07 18:10:16 +00:00
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 re PR bootstrap/50888 (Bootstrap failure in libjava against latest git glibc) 2011-11-24 08:18:16 +01:00
README * README: Refer to our generic bug reporting page. 2011-04-24 10:04:26 +00:00
shlibpath.m4 Remove freebsd1 from libtool.m4 macros and config.rpath. 2011-02-13 11:45:53 +00:00
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.