Problem with latest OpenSSH - 2.5.2p2
Lutz Jaenicke
Lutz.Jaenicke at aet.TU-Cottbus.DE
Fri Apr 13 20:03:50 EST 2001
On Fri, Apr 13, 2001 at 09:50:47AM +0200, Gert Doering wrote:
> On Thu, Apr 12, 2001 at 07:35:24PM -0700, Tim Rice wrote:
> > > /* Interrupted by signal. */
> > > goto restart_interrupted;
> > ^^^^^^^^^^^^^
> > Even if this works, find another way.
> > I don't think goto is portable.
>
> It is fairly portable (never seen a C compiler that doesn't support it).
It's part of the standard, so in fact it is portable.
With respect to OpenSSH: if you would find a platform without it, openssh
still wouldn't have a problem. OpenSSL is full of goto statements, and without
OpenSSL nobody would have to care about OpenSSH anyway :-)
The question whether using goto is to be recommended or not is a different
question, that might easily lead to a flame war...
Best regards,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
More information about the openssh-unix-dev
mailing list