Re: _Exit detection

2010-07-12 Thread Eric Blake
On 07/12/2010 05:17 PM, Paul Eggert wrote: > On 07/12/10 14:44, Karl Berry wrote: >> Sorry for my ignorance, but what's the advantage for RCS of using _exit >> or _Exit instead of just plain exit() and thus eliminating the >> complications? > > Signals. Plain exit() isn't guaranteed to work in a

Re: _Exit detection

2010-07-12 Thread Paul Eggert
On 07/12/10 14:44, Karl Berry wrote: > Sorry for my ignorance, but what's the advantage for RCS of using _exit > or _Exit instead of just plain exit() and thus eliminating the > complications? Signals. Plain exit() isn't guaranteed to work in a signal handler. Come to think of it, though, RCS co

Re: _Exit detection

2010-07-12 Thread Karl Berry
Sorry for my ignorance, but what's the advantage for RCS of using _exit or _Exit instead of just plain exit() and thus eliminating the complications?

Re: _Exit detection

2010-07-12 Thread Thien-Thi Nguyen
() Bruno Haible () Mon, 12 Jul 2010 18:56:28 +0200 But now, I'm adding the module '_Exit'. So all you have to do is to request this module. Cool. I will try it and report any problems. thi

Re: _Exit detection

2010-07-12 Thread Thien-Thi Nguyen
() Paul Eggert () Mon, 12 Jul 2010 09:40:20 -0700 Perhaps there is some advantage to _Exit on non-free platforms but I wouldn't worry about that unless the topic comes up and you have a good expert on those platforms available. Thanks for the explanation. Were it not for just-minted

Re: _Exit detection

2010-07-12 Thread Bruno Haible
Thien-Thi Nguyen wrote: > GNU RCS uses gnulib module ‘stdlib’, which AFAICT does not > detect missing ‘_Exit’, e.g., when using dietlibc: > > https://savannah.gnu.org/bugs/?30372 > > I am unsure where/how to fix this and would be grateful for any tips. > Specifically: > > - Is this something gnu

Re: _Exit detection

2010-07-12 Thread Paul Eggert
On 07/12/10 04:11, Thien-Thi Nguyen wrote: > - Moving laterally, is it poor style to use ‘_Exit’ > (as opposed to plain old ‘_exit’) in the first place? For RCS, I would think so. _Exit is less portable and does not provide any advantages on GNU or on Unix-like platforms (it is functionally eq

_Exit detection

2010-07-12 Thread Thien-Thi Nguyen
GNU RCS uses gnulib module ‘stdlib’, which AFAICT does not detect missing ‘_Exit’, e.g., when using dietlibc: https://savannah.gnu.org/bugs/?30372 I am unsure where/how to fix this and would be grateful for any tips. Specifically: - Is this something gnulib can/should handle? - If not, what is t