David E. O'Brien
dbb3c034a4
Adjust to the libedit enhancements some functions now take more parameters.
...
Partially submitted by: kris
2001-10-01 08:46:45 +00:00
Mike Barcroft
ad6c0a3768
Revert the previous delta and apply a better fix which corrects
...
a check on the final snprintf and reduces duplicated code.
Submitted by: brian
2001-08-30 17:13:15 +00:00
Mike Barcroft
2b8bab2f34
o Fix some checks on snprintf(3) to prevent miscalculations.
...
o This fixes a memory leak that can occur on some URL's.
Pointy hat to: brian
2001-08-29 23:51:14 +00:00
Brian Somers
0baa3ca450
Fix my previous snprintf() patches (which were largely no-ops).
...
Mostly submitted by: bde
2001-08-23 12:53:15 +00:00
Brian Somers
081f2a7ec6
Handle overflows from snprintf(), not just returns of < 0
...
Pointed out by: bde
2001-08-21 11:39:32 +00:00
Brian Somers
cbe1d3b630
Handle snprintf() returning -1.
...
MFC after: 2 weeks
2001-08-20 14:46:40 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Jonathan Chen
48aa92042e
Fix using /usr/bin/ftp as a slave process on the end of a pipe by calling
...
fflush(stdout). This is one ancient PR...
PR: bin/1589
Submitted by: imp
2001-08-05 08:39:58 +00:00
Daniel C. Sobral
d3460d6609
Correct small typo on debug message.
...
PR: bin/28337
Submitted by: Koga Youichirou <y-koga@jp.freebsd.org>
MFC after: 1 week
2001-06-22 12:54:55 +00:00
Bruce Evans
09f59dfc92
Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to
...
move the "for safety" zeroing of unused members of timebuf to a better
place. It actually moved the zeroing to a worse place and didn't add
necessary braces.
Fixed a nearby older bug. timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid. Even when it is zeroed, a failing mktime()
might set it to nonzero.
PR: 25243
2001-04-04 15:09:54 +00:00
Hajimu UMEMOTO
07da07565e
Replace isurl() with isipv6addr().
...
Reported by: Koji Kondo <koji@jp.above.net>
Obtained from: NetBSD
2000-05-22 17:18:38 +00:00
Andrey A. Chernov
b2ca2dccc4
Fix several problems with EPSV (verbosity, one-per-session, missing place)
...
Approved by: jkh
2000-02-21 18:18:41 +00:00
Yoshinobu Inoue
4dd8b5ab79
another tcp apps IPv6 updates.(should be make world safe)
...
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV
Obtained from: KAME project
2000-01-27 09:28:38 +00:00
Sheldon Hearn
248368f60a
Revert the change from memset() to bzero(), since bzero() is simply
...
a special case of memset and we already initialize all those
members of the struct tm which are required by mktime().
The memset() is only necessary for style conformity with the rest
of the file. :-)
Scenic route tour by: bde
2000-01-20 09:41:31 +00:00
Sheldon Hearn
64826fd0b3
Correctly parse broken MDTM responses from servers which format
...
tm_year with "19%02d".
PR: 15981
Reported by: klh@netcom.com (Ken Harrenstien)
Reviewed by: bde
2000-01-18 21:27:23 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Ruslan Ermilov
f62092b8c3
- add "-s src_addr" option to allow setting of the source IP address;
...
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
Jean-Marc Zucconi
d90d7b04ab
'remaining' must be declared off_t instead of int to avoid FPE when the size of
...
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
Paul Traina
5099706acd
Don't print garbage when user enters EOF at name prompt.
...
PR: 5565
Submitted by: Jens Schweikhardt
1998-02-03 20:53:25 +00:00
Andrey A. Chernov
244bf2805f
Add (unsigned char) cast to ctype macro
1997-12-16 08:17:26 +00:00
Paul Traina
b62081305a
Sync with NetBSD v1.3.
...
Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00
Andrey A. Chernov
943259e2fc
Localize it (ctype)
...
8bit ctype clean fixes
(I can't input 8bit chars otherwise in this new ftp, it beeps)
1997-06-27 09:30:15 +00:00
Mike Smith
5fc864b26d
Import substantial improvements to ftp(1) from NetBSD, largely the
...
work of Luke Mewburn.
This includes, but is not limited to :
- commandline editing and history.
- local and remote filename completion.
- a new progress display.
- the ability to access files using either the ftp or http protocols,
and use http proxies for ftp transfers.
The FreeeBSD "restricted ports" functionality was preserved.
Obtained from: NetBSD
1997-06-25 08:56:46 +00:00