Re: [xml] SIGFPE + small bug



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]