> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > o SunOS4 does not have atexit (used in psql). --> igore it
> >
> > Maybe on_exit() is available, or even more portable?
>
> > SunOS4 has on_exit. Can we change atexit to on_exit?
>
> atexit is ANSI C. on_exit is not found here (HPUX) at all. Looks
> like we need another configure test :-( ... but I recommend we stick
> with atexit as the preferred form.
>
> regards, tom lane
Ok. First test if atexit exists. on_exit is second.
--
Tatsuo Ishii