[commit] Avoid using XML_StopParser if not available
Richard Earnshaw
rearnsha@arm.com
Tue Jan 9 15:39:00 GMT 2007
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
More information about the Gdb-patches
mailing list