aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch/fetch.c
Commit message (Expand)AuthorAgeFilesLines
* Use the URL instead of the output file name when reporting errors relatingDag-Erling Smørgrav2002-11-271-6/+6
* Don't set atime / mtime if we don't have an output file, which can happenDag-Erling Smørgrav2002-11-131-2/+2
* Don't divide by zero to calculate the ETA, even if we haven't gottenBill Fenner2002-11-121-1/+1
* Don't exit with success after timeout during authentication.Bill Fenner2002-11-071-0/+4
* Don't complain about not knowing the remote file size when working inDag-Erling Smørgrav2002-10-271-1/+1
* Whitespace and indentation cleanup.Dag-Erling Smørgrav2002-10-271-12/+12
* Forgot to disable alarms after fetchXGet() in previous commit.Dag-Erling Smørgrav2002-10-271-0/+2
* Add an ETA timer that kicks in after 30 seconds.Dag-Erling Smørgrav2002-10-271-16/+45
* s/optarg/s/ (cut'n'paste braino)Dag-Erling Smørgrav2002-08-271-6/+4
* Use strtol(3) instead of a home-grown version, and fix a "possiblyDag-Erling Smørgrav2002-07-281-36/+24
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
* Restored the part of 1.45 that was clobbered in rev.1.46:Bruce Evans2002-03-271-0/+1
* Add FBSDID. Remove unused include. Getopt returns -1 not EOF.Philippe Charnier2002-03-261-5/+5
* #include <sys/time.h> instead of depending on namespace pollution inBruce Evans2002-02-251-2/+2
* If downloading to a temporary file, set the timestamp on the temp file, notDag-Erling Smørgrav2002-02-161-2/+2
* Set fetchDebug if v_level is 3 or more.Dag-Erling Smørgrav2001-12-091-0/+2
* Remove an extraneous argument to fprintf that -Wformat noticed.Ian Dowse2001-11-101-1/+1
* Remove a debugging warnx() that got committed by mistake.Dag-Erling Smørgrav2001-11-031-1/+0
* Don't print running stats unless we're the foreground process.Dag-Erling Smørgrav2001-09-231-0/+11
* Add a cast to silence a warning (error because of WARNS=2) on Alpha.Mike Barcroft2001-09-101-1/+1
* If the local file does not exist, or is a regular file, and we're not tryingDag-Erling Smørgrav2001-09-081-27/+71
* Remove a blank line that snuck in with the previous commit.Dag-Erling Smørgrav2001-08-181-1/+1
* Add some comments.Dag-Erling Smørgrav2001-08-171-3/+26
* Include value of command line argument that causes an error message orStefan Eßer2001-07-281-6/+9
* If we're writing to stdout, we don't care about the size.Dag-Erling Smørgrav2001-07-171-1/+1
* WARNS cleanup + remove an unused macro and an unused function argument.Dag-Erling Smørgrav2001-07-171-648/+653
* Fix an embarassing if-test-reversal bug that broke scheme guessing.Dag-Erling Smørgrav2001-07-081-2/+2
* Don't try to print a completion percentage for zero-size files.Dag-Erling Smørgrav2001-06-011-1/+1
* Damn. Fix typo in previous commit.Dag-Erling Smørgrav2001-05-271-1/+1
* When running on a tty, install an authentication callback.Dag-Erling Smørgrav2001-05-261-8/+52
* Bring the usage message in synch with reality.Dag-Erling Smørgrav2001-03-281-3/+2
* Now that libfetch uses the high port range by default, add a -U option toDag-Erling Smørgrav2001-03-241-7/+10
* If SIGINFO is received during the transfer, print a status line similarDag-Erling Smørgrav2001-03-071-5/+29
* Warn if the size of the remote file isn't known.Dag-Erling Smørgrav2000-12-221-2/+11
* If the URL did not specify a scheme, try to guess it from the host name.Dag-Erling Smørgrav2000-12-131-0/+10
* If the transfer timed out, but we don't know how large the file is supposedDag-Erling Smørgrav2000-11-301-1/+10
* Format string auditingKris Kennaway2000-11-271-2/+2
* Understand the difference between an empty file and a non-existent file.Dag-Erling Smørgrav2000-10-191-9/+13
* Don't try to set the mtime of the output file if it's not a regular file.Dag-Erling Smørgrav2000-09-021-1/+2
* Don't unlink the target file if it's not a regular file.Dag-Erling Smørgrav2000-08-311-1/+2
* Restore the old semantics of deleting the output file when interrupted.Dag-Erling Smørgrav2000-07-261-2/+4
* Don't print summary in quiet mode.Dag-Erling Smørgrav2000-07-211-0/+3
* Don't display a running count in quiet mode.Dag-Erling Smørgrav2000-07-211-2/+7
* Fix two bugs related to resumed transfers:Dag-Erling Smørgrav2000-07-191-20/+26
* Braino: don't use passive mode unless the user requests it.Dag-Erling Smørgrav2000-07-191-1/+1
* While I'm at it, break a line that was too long, remove a pointless diagnosticDag-Erling Smørgrav2000-07-171-3/+3
* Rearrange / rewrite large portions of fetch() to take advantage of newDag-Erling Smørgrav2000-07-171-35/+84
* Better signal handling.Dag-Erling Smørgrav2000-07-161-11/+18
* Fix a bug in the stats display that showed up when resuming aborted transfers.Dag-Erling Smørgrav2000-07-131-2/+2
* Rework the stats code for the nth time. Much cleaner now.Dag-Erling Smørgrav2000-07-121-98/+62