Re: [xml] SIGFPE + small bug



On Thu, Jun 07, 2001 at 05:09:58PM +0000, Bjorn Reese wrote:
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.

Actually most K&R C environments had signal.h too, although signal()
doesn't always work on non-Unix-like systems. sigset() and sigvec() are
another matters, and signal() may have SYSV or BSD-style semantics...

Probably if you don't have signal.h you're porting to something without
signals (an embedded system perhaps??)... so a conditional include still
sounds sensible, although "configure" won't work on such platforms...

Lee


-- 
Liam Quin - Barefoot in Toronto - liam holoweb net - http://www.holoweb.net/
Ankh: irc.sorcery.net www.valinor.sorcery.net irc.gnome.org www.advogato.org
Author, Open Source XML Database Toolkit, Wiley August 2000
Co-author: The XML Specification Guide, Wiley 1999; Mastering XML, Sybex 2001




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]