> 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...)

You're probably right, but I think I can still take this into account.

I can temporarily link everything with done.o, and the linker will
pick up the duplicate definition of done() in the cases where an
executable is actually using a specialised version.

Does that seem a safe way to proceed?

Cheers,

        - Joel


_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to