[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh success

   Date: Tue, 24 Oct 2000 19:05:04 -0500
   From: Neal H Walfield <neal@cs.uml.edu>

   > > openssh itself needed several kludges: I replaced MAXHOSTNAME in a
   > > couple of files with a "enough for everyone" value. Evil, but at the
   > > time I lacked the docs to do it right.
   > Well, this needs to be fixed with realloc() and a loop.

   How about alloca and asprintf?

There are portability issues with those.  alloca() isn't supported on
all systems (although it can be emulated), and asprintf is a GNU
extension.  Of course the Hurd and Linux support both, but the
upstream maintainer might not like it.


Reply to: