On Dec 18, 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote:

> #ifdef __cplusplus
> #undef exit
> #define exit(x) return (x)
> #endif

But what if a hand-coded test calls exit() from some function other
than main()?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to