Source-Changes archive

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

CVS commit: basesrc



Module Name:    basesrc
Committed By:   lukem
Date:           Wed Jun  2 02:03:59 UTC 1999

Modified Files:
        basesrc/usr.bin/ftp: cmds.c fetch.c ftp.1 ftp.c main.c util.c

Log Message:
* fix gate mode to login as `user@realhost' rather than using PASSERVE;
  the latter only seemed to work for TIS Gauntlet and not TIS fwtk.
  thanks to simonb%netbsd.org@localhost for testing this. fixes [bin/5556].
* if EOF (e.g, ^D) is entered at a username/password/account prompt which
  happens to use fgets(), exit the login rather than treating EOF as CR.
* don't use the comma operator where separate statements are valid
* always use snprintf to copy stuff into malloced buffers, just in case
  typos creep in and mean that the buffer ends up being overflowed


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 basesrc/usr.bin/ftp/cmds.c basesrc/usr.bin/ftp/util.c
cvs rdiff -r1.54 -r1.55 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.39 -r1.40 basesrc/usr.bin/ftp/ftp.1
cvs rdiff -r1.43 -r1.44 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.41 -r1.42 basesrc/usr.bin/ftp/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index