[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: _Exit detection
From: |
Paul Eggert |
Subject: |
Re: _Exit detection |
Date: |
Mon, 12 Jul 2010 16:17:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 |
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 commands shouldn't be invoking _exit (or
_Exit) in a
signal handler: they should be killing themselves with the handled signal, so
that
their invokers get the proper status. Once this is done, RCS shouldn't need
either _exit or _Exit.