Module Name: src Committed By: kre Date: Mon Nov 20 21:11:37 UTC 2017
Modified Files: src/usr.bin/ftp: cmds.c ftp_var.h util.c Log Message: Issue PWD commands to the server only when we actually need the results, not speculatively, just in case we might. Allows operation with some broken servers that get confused by PWD commands in some situations, and saves server round trips in the (modern) common case of ftp ftp://path/name where we never need to know the results from PWD. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/usr.bin/ftp/cmds.c cvs rdiff -u -r1.84 -r1.85 src/usr.bin/ftp/ftp_var.h cvs rdiff -u -r1.158 -r1.159 src/usr.bin/ftp/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.