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