ssh-keyscan for ssh2

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Thu Jun 7 08:36:30 EST 2001


On Sat, May 19, 2001 at 02:14:53PM -0700, Wayne Davison wrote:
> On Sat, 19 May 2001, Markus Friedl wrote:
> > i think you can overload fatal() with longjmp().
> 
> Yeah, I was thinking of doing the same thing.  I didn't do it earlier
> because it means moving fatal() into its own file so that we don't end
> up with a duplicate symbol.

no, this is not needed. just do this instead:


void
fatal_callback(void *arg)
{
        if (nonfatal_fatal)
                longjmp(kexjmp, -1);
}

and
        fatal_add_cleanup(fatal_callback, NULL);
in main()



More information about the openssh-unix-dev mailing list