Re: [xml] SIGFPE + small bug
- From: Bjorn Reese <breese mail1 stofanet dk>
- To: xml gnome org
- Subject: Re: [xml] SIGFPE + small bug
- Date: Thu, 07 Jun 2001 17:09:58 +0000
Daniel Veillard wrote:
On Thu, Jun 07, 2001 at 04:38:22PM +0200, robert wrote:
I just noticed another problem: the code in xmlXPathDivideBy() also checks
for SIGFPE and SIG_IGN definitions, but since HAVE_SIGNAL_H is never
defined anywhere, signal.h is not included and SIGFPE/SIG_IGN don't get
defined as well.
Perhaps a check for signal.h should be included?
I'm really surprized, I was sure that the availability of signal() and
signal.h were checked from configure, and they were not there.
I will suggest the opposite approach. <signal.h> and signal() are part
of ANSI C, so they will be available for all compilers out there (ok,
not K&R compilers, but do these actually exists anymore?). Therefore,
there is no need for HAVE_SIGNAL / HAVE_SIGNAL_H.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]