curl-library
Re: Signal handling problem in libcurl
Date: Fri, 19 Sep 2008 18:31:08 +0200
2008/9/19, Dan Fandrich wrote:
> On Fri, Sep 19, 2008 at 04:11:06PM +0200, Daniel Stenberg wrote:
> > On Fri, 19 Sep 2008, Yang Tse wrote:
> >
> >> Some quick archeology in CVS reveals that the 'alarm' check has never
> >> been done in configure. Should the check be introduced?
> >
> > Wow. Yes it should be!
>
> There are a number of places in setup.h where HAVE_ALARM is set (and unset)
> depending on the platform. It looks like it's set for just about all
> platforms by default then unset for a few select ones. I don't know why
> this approach was taken except if the current signal handler alarm approach
> doesn't work on those platforms.
Oooh! Yep ;-), it has been in setup.h for more than 6 years now.
I think it would be better to let the configure process check for the
alarm function, and allow setup.h to undefine its usage if required.
Someone against this ?
-- -=[Yang]=-Received on 2008-09-19