Source-Changes-D archive

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

Re: CVS commit: src/usr.bin/ftp



On Fri, Apr 24, 2009 at 02:07:56PM +1000, Geoff Wing wrote:
  | On Sunday 2009-04-12 10:18 +0000, Luke Mewburn output:
  | :Module Name:       src
  | :Committed By:      lukem
  | :Date:              Sun Apr 12 10:18:52 UTC 2009
  | :
  | :Modified Files:
  | :   src/usr.bin/ftp: cmds.c cmdtab.c complete.c domacro.c extern.h fetch.c
  | :       ftp.c ftp_var.h main.c progressbar.c progressbar.h util.c version.h
  | :
  | :Log Message:
  | :Fix numerous WARNS=4 issues (-Wcast-qual -Wsign-compare).
  | :cvs rdiff -u -r1.114 -r1.115 src/usr.bin/ftp/main.c
  | 
  | ------------------------------------------------------------
  | @@ -570,7 +574,7 @@
  |                                     anonftp = 0;
  |                                     autologin = 0;
  |                             }
  | -                           setpeer(argc+1, xargv);
  | +                           setpeer(3, xargv);
  |                             autologin = oautologin;
  |                             if (connected == 1 && uuser != NULL)
  |                                     (void)ftp_login(host, uuser, NULL);
  | ------------------------------------------------------------
  | 
  | This is a functional change, not a WARNS=4 issue.  And it's wrong.
  | 
  | Try "ftp <hostname>", e.g.
  | % ftp ftp.netbsd.org.

Fixed.

thanks,
Luke.

Attachment: pgpLeUdohEuga.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index