aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tftp
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfy, plus constify interfaces where possible.Xin LI2008-10-134-115/+50
| | | | Notes: svn path=/head/; revision=183858
* Use strlcpy() instead of strncpy() when we want the string to beXin LI2008-10-131-3/+2
| | | | | | | NUL-terminated. Notes: svn path=/head/; revision=183857
* Fix markup.Ruslan Ermilov2007-11-071-29/+31
| | | | Notes: svn path=/head/; revision=173408
* Set txrx_error to 1 when we reach abort. This makes the program correctly ↵Matteo Riondato2006-09-281-0/+2
| | | | | | | | | | | | | set the exit code. The PR has further details on this. PR: bin/103206 Submitted by: John Hickey <jjh-freebsd@daedalian.us> MFC after: 3 days Notes: svn path=/head/; revision=162749
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historyStefan Farfeleder2005-10-191-1/+1
| | | | | | | | | size. PR: 86355 Notes: svn path=/head/; revision=151471
* Use socklen_t where appropriate.Stefan Farfeleder2005-08-051-2/+2
| | | | Notes: svn path=/head/; revision=148726
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-1/+1
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140420
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131491
* Bumped the document date.Ruslan Ermilov2004-05-191-1/+1
| | | | Notes: svn path=/head/; revision=129435
* Fix BSS buffer overflow in makeargv().Tim J. Robbins2003-10-121-2/+3
| | | | Notes: svn path=/head/; revision=121015
* tftp.1:Simon L. B. Nielsen2003-10-012-6/+6
| | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=120647
* Make the description of the connect, get, and put commands clearer.Simon L. B. Nielsen2003-09-131-34/+43
| | | | | | | | | | | Reported by: Gary W. Swearingen <underway@comcast.net> Submitted by: Jim Brown <jpb@sixshooter.v6.thrupoint.net> (original version) Reviewed by: ru PR: docs/36459 MFC after: 3 weeks Notes: svn path=/head/; revision=120042
* fix reverse logic in "connect" command that cause port specifications to be ↵Jonathan Chen2003-03-251-2/+2
| | | | | | | | | ignored. MFC after: 1 week Notes: svn path=/head/; revision=112582
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* mdoc(7) police: markup nits.Ruslan Ermilov2002-05-301-5/+5
| | | | Notes: svn path=/head/; revision=97546
* To perform even basic error checking, one must have an exit code thatBrian S. Dean2002-05-122-4/+8
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=96433
* Backout copyright notice I broke by my previous commit.Hajimu UMEMOTO2002-04-261-1/+1
| | | | Notes: svn path=/head/; revision=95495
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95124
* Add some constness to make this WARNS clean again.David Malone2002-04-131-3/+3
| | | | Notes: svn path=/head/; revision=94605
* IPv6 support for tftp/tftpd.Hajimu UMEMOTO2002-04-114-94/+155
| | | | | | | | Obtained from: KAME MFC after: 2 weeks Notes: svn path=/head/; revision=94443
* Clean up vendor ID and FBSDID.David Malone2002-03-301-5/+7
| | | | | | | We now seem to include <arpa/inet.h> to get ntoh*. Notes: svn path=/head/; revision=93428
* remove __PWarner Losh2002-03-224-42/+44
| | | | Notes: svn path=/head/; revision=92922
* 1) Move FreeBSD ID below vendor ID and don't compile vendor ID.David Malone2002-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. Notes: svn path=/head/; revision=91387
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.Mark Murray2002-02-081-1/+0
| | | | Notes: svn path=/head/; revision=90416
* Argh...argv->argcGuido van Rooij2002-01-041-1/+1
| | | | Notes: svn path=/head/; revision=88883
* Fix the coredump that occurs when, from the tfpt prompt, a 'c' command isGuido van Rooij2002-01-041-1/+1
| | | | | | | issued without an argument. Notes: svn path=/head/; revision=88882
* WARNS=2 fixes. NO_WERROR set as there are some hard-to-fixMark Murray2001-12-114-87/+87
| | | | | | | signed/unsigned comparisons. Use __FBSDID(). Notes: svn path=/head/; revision=87708
* Fixed most style bugs in previous commit.Bruce Evans2001-10-191-14/+11
| | | | Notes: svn path=/head/; revision=85155
* Fixed missing DPADD and misplaced $FreeBSD$ in previous commit.Bruce Evans2001-10-191-1/+2
| | | | Notes: svn path=/head/; revision=85152
* Add libedit support to tftp.Matthew N. Dodd2001-10-192-8/+46
| | | | Notes: svn path=/head/; revision=85120
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix tftpd and tftp to support file transfers of over 65535 blocksJeroen Ruigrok van der Werven2001-02-022-2/+7
| | | | | | | | | | (about 31 MB - 32 MB). Submitted (partially) by: Pascal Hofstee <daeron@wit401305.student.utwente.nl> Notes: svn path=/head/; revision=71926
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68963
* $Id$ -> $FreeBSD$Peter Wemm1999-08-284-4/+4
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Rename a function name so that it doesn't conflict with a future system call.David Greenman1998-10-303-6/+6
| | | | Notes: svn path=/head/; revision=40765
* Don't assume that hp->h_lenght == 4. Be conservative in its use.Warner Losh1998-06-091-8/+14
| | | | | | | Submitted by: J. Assange a long time ago. Notes: svn path=/head/; revision=36792
* Add #include <string.h> to get prototypes.John Birrell1998-02-201-1/+2
| | | | Notes: svn path=/head/; revision=33645
* Use err(3). 100 -> MAXHOSTNAMELEN from OpenBSD.Philippe Charnier1997-08-144-32/+36
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=28202
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-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. Notes: svn path=/head/; revision=18286
* Kill the (hopefully) last occurance of gets(3) in the base source tree.Joerg Wunsch1995-12-271-6/+11
| | | | Notes: svn path=/head/; revision=13068
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8874
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-277-0/+1723
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590