summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix BSS buffer overflow in makeargv().tjr2003-10-121-2/+3
|
* tftp.1:simon2003-10-011-5/+5
| | | | | | | | | | - Add the optional port argument to SYNOPSIS. main.c: - Sync usage with the manual page. Approved by: trhodes (main.c part) Obtained from: OpenBSD (jmc) MFC after: 2 weeks
* fix reverse logic in "connect" command that cause port specifications to be ↵jon2003-03-251-2/+2
| | | | | | ignored. MFC after: 1 week
* To perform even basic error checking, one must have an exit code thatbsd2002-05-121-4/+4
| | | | | | | | indicates that not everything worked as expected. Exit non-zero if we timed out while transmitting or receiving a file or if the file did not exist, etc. MFC After: 3 days (re@ willing)
* Add some constness to make this WARNS clean again.dwmalone2002-04-131-3/+3
|
* IPv6 support for tftp/tftpd.ume2002-04-111-76/+91
| | | | | Obtained from: KAME MFC after: 2 weeks
* remove __Pimp2002-03-221-26/+26
|
* 1) Move FreeBSD ID below vendor ID and don't compile vendor ID.dwmalone2002-02-271-9/+10
| | | | | | 2) Cast some numbers we know to be positive to size_t before we MIN them with the result of a sizeof. 3) Compare result of inet_addr to INADDR_NONE, not -1.
* Argh...argv->argcguido2002-01-041-1/+1
|
* Fix the coredump that occurs when, from the tfpt prompt, a 'c' command isguido2002-01-041-1/+1
| | | | issued without an argument.
* WARNS=2 fixes. NO_WERROR set as there are some hard-to-fixmarkm2001-12-111-58/+59
| | | | signed/unsigned comparisons. Use __FBSDID().
* Fixed most style bugs in previous commit.bde2001-10-191-14/+11
|
* Add libedit support to tftp.mdodd2001-10-191-8/+44
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Rename a function name so that it doesn't conflict with a future system call.dg1998-10-301-3/+3
|
* Don't assume that hp->h_lenght == 4. Be conservative in its use.imp1998-06-091-8/+14
| | | | Submitted by: J. Assange a long time ago.
* Use err(3). 100 -> MAXHOSTNAMELEN from OpenBSD.charnier1997-08-141-21/+18
| | | | Obtained from: OpenBSD
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-2/+2
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Kill the (hopefully) last occurance of gets(3) in the base source tree.joerg1995-12-271-6/+11
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+733
OpenPOWER on IntegriCloud