[xml] re: strace reports SIGFPE during parsing
- From: "Petr Kozelka" <pkozelka centrum cz>
- To: <xml gnome org>
- Subject: [xml] re: strace reports SIGFPE during parsing
- Date: Fri, 13 Jul 2001 13:02:29 +0200
thanks, this shown me where the problem is.
Perhaps I can suggest a patch eliminating the need to invoke
division by zero during xpath initialization, for systems with
ISO C99 support:
Index: xpath.c
==================================================================
=
RCS file: /cvs/gnome/gnome-xml/xpath.c,v
retrieving revision 1.135
diff -r1.135 xpath.c
196a197,199
#ifdef NAN
xmlXPathNAN = NAN;
#else
197a201,205
#endif
#ifdef HUGE_VAL
xmlXPathPINF = HUGE_VAL;
xmlXPathNINF = -(HUGE_VAL);
#else
199a208
#endif
Petr
-----
Letali jste nekdy na vlnach? My ano!
http://user.centrum.cz/redir.php?url=http://0g.cz/0109/wakeboarding
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]