nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Changing the return type of done()


From: Peter Maydell
Subject: Re: [Nmh-workers] Changing the return type of done()
Date: Thu, 19 Apr 2007 10:13:07 +0100

Joel Reicher wrote:
>What I'd really like to do is get rid of sbr/done.c and the done()
>declaration in h/prototypes.h altogether, replacing uses of *that*
>done() definition with an equivalent return where it appears in main(),
>and a use of exit() everywhere else.

I think we shouldn't do that unless we're also going for atexit()
usage where we currently have specialised done() implementations.
(Surely there's going to be at least one file where the source code
calls done() and which done() it winds up calling depends on which
program it's compiled into...)

-- PMM




reply via email to

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