diff options
author | des <des@FreeBSD.org> | 2007-05-24 20:28:14 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-05-24 20:28:14 +0000 |
commit | 74e15e6c709681da0f24e751248932e1e369743e (patch) | |
tree | f0056b7000f0350ee43e28e6b3d37fb2d062ad4f /lib | |
parent | 6efed887b9765f03e8f6aa550cc2fe41cc6c787e (diff) | |
download | FreeBSD-src-74e15e6c709681da0f24e751248932e1e369743e.zip FreeBSD-src-74e15e6c709681da0f24e751248932e1e369743e.tar.gz |
Enable FTP_COMBINE_CWDS.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libfetch/Makefile | 2 | ||||
-rw-r--r-- | lib/libfetch/fetch.3 | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index e30b71f..f49c763 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -20,6 +20,8 @@ DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto .endif +CFLAGS+= -DFTP_COMBINE_CWDS + CSTD?= c99 WARNS?= 2 diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3 index b145bb0..26ea5a7 100644 --- a/lib/libfetch/fetch.3 +++ b/lib/libfetch/fetch.3 @@ -334,16 +334,6 @@ If no user name or password is given, the .Nm fetch library will attempt an anonymous login, with user name "anonymous" and password "anonymous@<hostname>". -.Pp -By default, -.Nm fetch -changes directories one at a time for the best compatibility with a wide -variety of servers. -If it is compiled with the -.Ql FTP_COMBINE_CWDS -flag, it will first try a single change directory command for the entire -path and fall back to the default scheme if an error occurred. -This can save latency when used with a slow network link. .Sh HTTP SCHEME The .Fn fetchXGetHTTP , |