This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Avoid using XML_StopParser if not available
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 09 Jan 2007 15:39:16 +0000
- Subject: Re: [commit] Avoid using XML_StopParser if not available
- References: <20070109145934.GB17931@nevyn.them.org>
On Tue, 2007-01-09 at 09:59 -0500, Daniel Jacobowitz wrote:
> XML_StopParser is basically an optimization. We have to check for
> errors ourselves, because expat does not guarantee that it will
> immediately stop calling handlers; for instance, I believe it will call
> the end element handlers for anything already opened. So, we can
> call it if it's available but consider a missing copy harmless.
>
> I've checked this in. Richard, could you let me know if it is not
> enough for your version of expat? I can't readily downgrade to be
> sure.
>
Yes, that builds without problems.
R.
--
Richard Earnshaw Email: Richard.Earnshaw@arm.com
ARM Ltd Phone: +44 1223 400569 (Direct + VoiceMail)
110 Fulbourn Road Switchboard: +44 1223 400400
Cherry Hinton Fax: +44 1223 400410
Cambridge CB1 9NJ Web: http://www.arm.com/
UK