wiz
1ac719d147
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
...
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
wiz
3957bea1ef
Fix whitespace nits. Suggested by Bug Hunting.
2012-03-22 07:58:16 +00:00
apb
daa17451fe
subtracting two pointers yields ptrdiff_t, so cast it to int.
2012-02-24 19:53:31 +00:00
apb
bb16246581
When given an URL that contains "://" but is not recognised,
...
print an error message. Now "ftp https://foo/bar " prints
ftp: Unsupported URL scheme `https'
instead of
ftp: Can't lookup `https:ftp': No address associated with hostname
ftp: Can't connect or login to host `https:?'
2012-02-24 19:40:49 +00:00
christos
24352c32b9
fix previous; use append instead of write.
2012-01-15 20:43:24 +00:00
christos
65445fb66d
make -R work the same in ftp:// like it does for http:// (i.e. work if
...
there is no local file).
2012-01-15 03:58:28 +00:00
lukem
2c9a7b42f6
Move determination of socket buffer sizes from startup to the first
...
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).
Per discussion with Maxim Konovalov and the FreeBSD problem 162661.
2011-12-10 05:53:58 +00:00
joerg
6818646ac8
Use __dead
2011-09-16 15:39:25 +00:00
christos
51a4285889
fix gcc-4.5 warnings
2011-08-14 12:58:15 +00:00
mrg
c111245a78
apply some -Wno-error and/or -fno-strict-aliasing.
...
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
lukem
f8daa4a728
In ftpvis(), prevent incomplete escape sequences at end of dst,
...
and ensure NUL-termination of dst. Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.
2010-06-05 13:59:39 +00:00
lukem
e451c67901
ftp 20100305: fix http date parsing
2010-03-05 07:45:40 +00:00
lukem
3f853671ff
Back to using 'RFC xxxx' instead of 'RFCxxxx'
2010-03-05 07:41:10 +00:00
lukem
cbd600cfd6
Parse HTTP 'Date' entries in the `C' locale rather than the user's.
...
Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.
2010-03-04 21:40:53 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
lukem
7858a04d0e
rename argument from "bool" to "val"
2010-01-12 06:50:04 +00:00
lukem
7f19467717
Crank version to 20090915:
...
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup
2009-11-15 10:03:16 +00:00
christos
3104786862
back out previous; luke says:
...
'@' is a reserved URI char per RFC 3986, use %40
2009-08-17 09:08:16 +00:00
christos
3ac3892a2a
use strrchr to find the last @ because we might want the username to contain
...
user@domain.
2009-08-16 02:49:23 +00:00
drochner
c2819fbfcf
avoid NULL dereference in log output if the command line parser
...
failed to extract a port number from the URL
2009-08-13 17:55:18 +00:00
roy
7027866a09
Rename internal getline() function to get_line() so it does
...
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
joerg
ea92254557
Fix markup.
2009-07-11 18:35:48 +00:00
wiz
d8c85176f3
New sentence, new line.
2009-05-04 19:45:51 +00:00
lukem
a60f776aae
Revert incorrect change made as part of the WARNS=4.
...
Fixes "ftp host [port]" on the CLI.
Noted by Geoff Wing.
2009-04-24 08:57:26 +00:00
jld
d61104a0f0
Another empty-body warning/error, another set of curly braces. This, and
...
the last one, appear to affect only the NO_DEBUG (e.g., SMALLPROG) build.
2009-04-15 04:19:39 +00:00
jld
882877eb33
Unbreak the build by adding curly braces to placate the empty-body warning.
2009-04-15 03:42:33 +00:00
lukem
3d4efc3511
Fix numerous WARNS=4 issues (-Wcast-qual -Wsign-compare).
2009-04-12 10:18:52 +00:00
lukem
d8b47884a2
fix -Wshadow issues
2009-04-12 07:07:41 +00:00
joerg
6cb9af04f6
Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use
...
.Sm off/.Sm on.
2009-03-12 12:35:17 +00:00
lukem
95d5ba4ee0
correct a comment
2008-12-05 05:28:12 +00:00
lukem
b88214a09b
update copyrights
2008-09-30 03:41:53 +00:00
gmcgarry
507b8fdd96
getline() returns int. Don't cast to unsigned value and compare with -1.
2008-09-09 00:48:28 +00:00
lukem
4f152bac9e
Use AF_INET instead of AF_UNSPEC as the default family if !defined(INET6).
...
Avoids problem reported by Matthias Scheler <tron@NetBSD.org>.
2008-08-13 04:59:13 +00:00
lukem
f56a1ee83d
Add TNF to __COPYRIGHT
2008-07-21 23:11:16 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
wiz
b766901d20
Bump date; punctuation improvements.
2008-05-13 09:33:36 +00:00
skd
830972dccc
Bump version string, as per lukem@.
2008-05-10 01:14:57 +00:00
skd
315d173b9f
Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4 and ipv6 respectively. This hack is due to our friends a Juniper Networks who break
...
epsv in ipv6. Should be fixed in ScreenOS 6.2.X.
2008-05-10 00:05:31 +00:00
lukem
c63ddfd726
Only attempt to el_parse() a command unknown by the default parser
...
if editing is enabled.
Fixes PR bin/38589
2008-05-05 22:54:11 +00:00
martin
cd22f25e6f
Move TNF licenses to 2 clause form
2008-05-02 18:11:04 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
lukem
b81e94d02a
Use the service name to getaddrinfo() (along with the host name), so that
...
features such as DNS Service Discovery have a better chance of working.
Suggested by David Young <dyoung>.
Display the service name in various status & error messages.
Don't getservbyname() the :port component of a URL; RFC 3986 says it's
just an unsigned number, not a service name.
2008-04-22 12:59:33 +00:00
lukem
69b443d18c
Turn off the alarmtimer before resetting the SIGALRM handler back to SIG_DFL.
...
Fix from dieter roelants <dieter.NetBSD@pandora.be>
Should fix PR 35630.
2008-01-21 10:31:28 +00:00
reed
e25157a1c9
Sort a command. It was was renamed in 1.113 but not resorted.
...
(I noticed when reading man page but didn't quickly find what I was
looking for.)
Also add a missing period.
2008-01-08 15:28:31 +00:00
lukem
7a69105995
DPRINTF() consistency tweaks
2007-12-05 03:46:33 +00:00
lukem
d4aed48135
Rename HAVE_STRUCT_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
...
to accurately reflect the structure member being used.
2007-12-05 00:15:25 +00:00
wiz
a092695006
Sort options.
2007-12-02 19:40:54 +00:00
lukem
f1fbb660ed
Cast the field precision calculation to int.
...
Should fix the amd64 build problem noticed by Paul Goyette.
2007-08-22 23:47:13 +00:00
lukem
91c7169d78
Improve parsing of chunked transfer chunks per RFC2616:
...
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.
2007-08-22 06:51:41 +00:00
perry
e34be9798b
Never use "utilize". It means exactly the same thing as "use", but it
...
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.
2007-08-20 16:07:05 +00:00