bug-inetutils
[Top][All Lists]
Advanced

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

Re: Inetutils-1.3.2g, small problems


From: Alain Magloire
Subject: Re: Inetutils-1.3.2g, small problems
Date: Thu, 20 Dec 2001 09:32:59 -0500 (EST)

Bonjour

> 
> Thanks for the good work, but ... I discovered some bugs/problems in the
> latest 1.3.2g version.  Maybe you can take a look at this:
> 
> --> mkstemp is used without testing verifying existence.  (mkstemp
>     e.g. does not exist on Ultrix)

Noted.  Easy to fix.

> 
> --> on Ultrix (maybe on others), in poll.c time.h is not included, but
>     needed, for struct timeval.
> 

Noted.

> --> The getpass() problem is still there: getpass() gets, depending on the
>     platform, only a limited number of characters (typically PASS_MAX,
>     which is 16 on Ultrix and Tru64, but only 8 on e.g. HPUX and Solaris).
>     This makes e.g. anonymous ftp difficult (give full email address as
>     password ...)  So you should provide your own getpass() I'm afraid ...
>     Where available, you can use getpassphrase(), which gives you 256
>     chars.

Yes, the simple solution would be to use our own version unconditionnaly
but this also open a can of worms, mainly the tty handling(turning off echo).
It is possible to have a "portable" version on most modern system that
provides
<termios.h> and tcgetattr() functions.

We'll give this a try.

> Greetings, Bert.

Thanks for the note.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]