bug-gnulib
[Top][All Lists]
Advanced

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

Re: avoid non termination of ./configure


From: Nikos Mavrogiannopoulos
Subject: Re: avoid non termination of ./configure
Date: Fri, 13 May 2016 18:55:36 +0200

On Fri, 2016-05-13 at 09:41 -0700, Paul Eggert wrote:
> On 05/13/2016 09:31 AM, Nikos Mavrogiannopoulos wrote:
> > 
> > Hi,
> >   The attached patch replaces the call of exit() with _exit() in
> > signal
> > handlers. exit() is not one of the functions that can be cleanly
> > called
> > from a signal handler (see signal(7))
> > 
> > regards,
> > Nikos
> > 
> Thanks for catching that. Shouldn't the fixed versions call _Exit,
> not 
> _exit? The former is defined by the C standard and the latter is
> not. 
> The relevant modules can depend on the _Exit module, to support
> older 
> platforms that lack _Exit.

I used _exit() because there were already modules using that call. I
think it would be an overkill to introduce the _Exit dependency.

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]