Find a file
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
boehm-gc Regenerate configure files for libtool.m4 change 2012-05-16 15:11:18 -07:00
config isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling. 2012-07-04 12:26:55 +00:00
contrib Do not use 'with ... as ...' in validate_failures.py 2012-07-26 11:31:00 -04:00
fixincludes inclhack.def (aix_mutex_initializer_1): New fix. 2012-06-19 13:55:14 -04:00
gcc Daily bump. 2012-08-09 00:18:12 +00:00
gnattools Remove obsolete IRIX 6.5 support 2012-03-14 16:33:37 +00:00
include filenames.h: #include "hashtab.h". 2012-07-13 22:12:28 +00:00
INSTALL
intl
libada Makefile.in (GNATLIBCFLAGS_FOR_C): Remove $(PIC_FLAG_FOR_TARGET). 2012-06-11 15:24:12 +00:00
libatomic re PR other/53231 (libatomic/tas_n.c💯10: error: 'ret' undeclared (first use in this function)) 2012-05-22 23:54:32 +00:00
libcpp gengtype.c (adjust_field_type): Diagnose duplicate "length" option applications and option being applied to... 2012-07-30 02:30:52 +00:00
libdecnumber warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. 2011-12-20 16:54:12 +00:00
libffi ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test, just return FFI_BAD_ABI when things are wrong. 2012-08-08 16:48:43 +02:00
libgcc Replace top_srcdir with srcdir 2012-08-03 22:33:27 -07:00
libgfortran list_read.c (list_formatted_read_scalar): Fix copying real value back to temporary. 2012-07-25 16:40:26 +00:00
libgo runtime: support NumCPU() on more platforms Added support for Solaris, Irix, *BSD (including Darwin). 2012-08-07 04:42:49 +00:00
libgomp libgomp.texi (Library Index): Renamed from "Index" to prevent conflict with index.html on case-insensitive... 2012-07-04 22:53:03 -04:00
libiberty md5.c (md5_finish_ctx): Declare swap_bytes. 2012-07-31 08:38:27 +02:00
libitm xmmintrin.h (_mm_sfence): Use __builtin_ia32_pause. 2012-07-03 09:24:10 +02:00
libjava Use accessor functions to manipulate xmlOutputBuffer 2012-08-09 12:33:48 +02:00
libmudflap ctors.exp: Explicitely specify -O0. 2012-07-13 13:25:13 +00:00
libobjc eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
libquadmath re PR target/51007 (Quadmath I/O doesn't work on MinGW) 2012-05-31 18:51:27 +00:00
libssp re PR target/51007 (Quadmath I/O doesn't work on MinGW) 2012-05-31 18:51:27 +00:00
libstdc++-v3 re PR libstdc++/54005 (Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free) 2012-08-07 23:03:55 +00:00
lto-plugin * lto-plugin.c: Fix typo. 2012-05-29 20:21:25 +01:00
maintainer-scripts crontab: Disable snapshots from gcc-4_5-branch. 2012-07-02 09:16:29 +00:00
zlib Regenerate configure files for libtool.m4 change 2012-05-16 15:11:18 -07:00
ABOUT-NLS
ChangeLog * MAINTAINERS (Write After Approval): Add myself. 2012-07-24 13:51:17 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub Update config.sub to 2012-04-18 version from official repo. 2012-04-25 15:48:28 +00:00
configure Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC) as CPPFLAGS... 2012-07-06 12:55:34 +00:00
configure.ac configure.ac (extra_isl_gmp_configure_flags): Initialize and subst. 2012-07-06 12:31:03 +00:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 Add x32 support to libtool.m4 2012-05-15 09:07:28 -07:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2012-07-24 13:51:17 +00:00
Makefile.def Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC) as CPPFLAGS... 2012-07-06 12:55:34 +00:00
Makefile.in Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC) as CPPFLAGS... 2012-07-06 12:55:34 +00:00
Makefile.tpl cloog.m4: Set up to work against ISL only. 2012-07-02 11:43:46 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.