[PATCH]passwd: size reduction and clean up
Tito
farmatito at tiscali.it
Thu Dec 29 21:32:50 UTC 2005
On Thursday 29 December 2005 14:13, Vladimir N. Oleynik wrote:
> Mike Frysinger wrote:
> > On Thursday 29 December 2005 07:27, Vladimir N. Oleynik wrote:
> >
> >>>- fprintf(stderr, "Incorrect password.\n");
> >>>+ bb_error_msg("Incorrect password.");
> >>>- fprintf(stderr, "Passwords do not match.\n");
> >>>+ bb_error_msg("Passwords do not match.");
> >>
> >>May be best if not change this?
>
> > why ?
>
> The Passwd utulity is unlike nonterminal. For hack this many people
> using "expect". bb_error_msg("eror_msg") produce "utility_name: error_msg"
> and unexpect for "expect" ;-)
Hi vodz,
this fprintf + expect stuff applies only to this two messages?
if yes i'll revert them in Bernard's 02 patch and add mike's
comment.
BTW could you take a look at Bernard's 02 patch and do a little
testing, for me it seems to work.
Thanks in advance for your time,
Ciao,
Tito
>
> --w
> vodz
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
More information about the busybox
mailing list