Re: [xml] SIGFPE + small bug
- From: Daniel Veillard <veillard redhat com>
- To: robert <robert xml 00008 org>
- Cc: xml gnome org
- Subject: Re: [xml] SIGFPE + small bug
- Date: Thu, 7 Jun 2001 10:16:36 -0400
On Thu, Jun 07, 2001 at 04:08:14PM +0200, robert wrote:
Using libxml2-2.3.10 in a multi-threaded (not pthreads) environment, I got
a SIGFPE calling xmlInitParser().
[...]
Apparently, HAVE_SIGNAL is not defined anywhere so the signal isn't
blocked; this is on FreeBSD (both 4.2 and 3.3).
Ah ... and how does one trap a signal on FreeBSD ?
Also, xmlXPathInit() contains a bug:
xmlXPathPINF = xmlXPathDivideBy(1.0, 0.0);
xmlXPathPINF = xmlXPathDivideBy(-1.0, 0.0);
That last line should set xmlXPathNINF instead.
Dohh , right !
I fixed this one in CVS
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]