| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Some string-related cleanups inspired by OpenBSD.
Reviewed by: asmodai
|
|
|
|
|
|
| |
be fixed to actually process long lines instead of truncating them.
Obtained from: OpenBSD
|
|
|
|
|
|
| |
an error. As it was, which find command lines that would work (be
accepted at all) was dependent on the presently running kernel, making
script writing and porting hard.
|
|
|
|
| |
Don't extern it.
|
|
|
|
|
|
|
| |
line is missing. This apparently was broken in revision 1.31 of
"if.c".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
|
|
|
|
|
| |
PR: 17867
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Nagged by: nrahlstr
|
|
|
|
| |
Some people liked this and some didn't, so POLA won.
|
|
|
|
|
|
| |
being treated like regular files because of missing braces.
PR: 20143
|
|
|
|
|
|
| |
and be more precise about the handling of command-line arguments.
Reviewed by: ps
|
| |
|
|
|
|
|
|
| |
variables.
Submitted by: charnier
|
|
|
|
| |
Submitted by: charnier
|
|
|
|
|
|
|
| |
most of the utilities.
.Nm prog -> .Nm
Remove unused include
Make use of getopt() instead of parsing params by hand.
|
|
|
|
|
|
|
|
|
|
|
| |
Do not include unused header files.
Add rcsid.
Change copyright.
truncate.1:
Add AUTHORS section.
Submitted by: charnier
|
|
|
|
|
|
| |
table when a long argument list is given. :-)
Reported by: Sven Agnew <afterhours80@hotmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
in environments where portability is a concern.
|
|
|
|
|
| |
Don't add the offset to the size; it's libfetch's job to report the correct
size of the requested file.
|
|
|
|
|
| |
PR: bin/20053
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
|
|
|
|
|
|
|
|
| |
Make use of the marked up argument to clarify the text in the DESCRIPTION
section.
Insert a missing word: ``the''.
Make the phrase in the BUGS section a full sentence.
Sort the cross-references in the SEE ALSO section correctly.
|
|
|
|
|
|
|
|
|
|
| |
- if the dates didn't match, fetch would append the received file to the
existing file instead of replacing it.
- if the local file was complete and up-to-date, fetch would miscalculate
the expected size and report a failure instead of a success, because it
had no way of knowing that the server was actually resending the entire
file since the requested offset was invalid.
|
|
|
|
|
| |
PR: bin/20025
Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
|
|
|
|
| |
Change reference from update(4) to syncer(4).
|
|
|
|
| |
Reviewed by: peter
|
|
|
|
|
|
| |
* Insert newline before "and" in ".Fl c and".
Approved by: des
|
| |
|
|
|
|
|
| |
PR: docs/19401
Submitted by: s.c.sprong@student.utwente.nl
|
|
|
|
|
| |
PR: 20008
Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
|
|
|
| |
Approved by: jdp
|
|
|
|
|
|
|
|
|
| |
only does IPv4 as our syslogd only does IPv4. I dunno if the KAME
people have any plans for syslogd).
PR: 19821
Submitted by: Nick Hilliard <nick@iol.ie>
Reviewed by: sheldonh
|
| |
|
|
|
|
| |
and adjust the verbosity level of another.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libfetch features (fetchRestartCalls, fetchXGet()).
Since it doesn't make much sense to have m_flag and r_flag set at the same
time, and it can actually cause trouble in some cases, die if they're both
set.
Set the SA_RESETHAND flag for SIGINT so that when we've caught one, we can
kill ourselves with a second SIGINT (thus notifying our parent of our tragic
fate) instead of just exiting.
These changes fix several problems that would show up when fetching ports,
as well as speeding up HTTP transfers quite a bit (at least for relatively
small files).
Most of these changes were prompted by an interaction problem with an HTTP
server called SWS-1.0, which exhibited two bugs, the first of which prevented
fetch from working around the second (the first was not sending content-type
in reply to HEAD requests, the second was sending garbage after the end of
the requested file).
|
|
|
|
|
|
|
| |
anything useful in a Bourne shell.
PR: 19980
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
|
|
|
|
| |
Submitted by: green
|
|
|
|
|
| |
PR: 19950
Submitted by: Alexey Klimov <klim@unique.kiev.ua>
|
|
|
|
|
|
|
|
|
| |
structure member that doesn't exist anymore.
Use getsysctlbyname for kern.ipc.mbstat instead of sysctl.
Use netstat's method of displaying values from mtnames.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Missed by PR: 19809
|
|
|
|
|
|
|
| |
expand the size from short to ulong
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
PR: kern/19809
|
|
|
|
|
|
|
| |
Correct the cmp.1 usage message
Correct the -l/-s incompatibility message
Submitted by: Mark Knight <markk@knigma.org>
|
| |
|
| |
|
|
|
|
| |
Submitted by: green
|
|
|
|
|
|
|
|
|
|
| |
Always display the completion percentage if stderr is a tty.
Drop the char-by-char transfer mode, it was based on an incorrect assumption
regarding the semantics of fread().
Finally (I hope) straighten out the business of setting the mtime, as well as
when to remove the output file and when not to.
Thanks are owed to the many who have provided nearly instantaneous and
highly constructive feedback and suggestions about these matters.
|
|
|
|
|
|
|
|
| |
this, and add a bit to the descriptions of "dir" and "nlist" to emphasize
the difference.
PR: 15408
Submitted by: Joe Smith <inwap@best.com>
|
|
|
|
| |
(it belongs to kame experiment).
|
|
|
|
|
|
|
| |
around the call to fetchStat().
Catch SIGINT, and rework the signal handling so it doesn't skimp on the
cleanup after a timeout or interrupt. Also, don't just bail out after a
timeout; there may be more files to fetch.
|
|
|
|
| |
(Mental note: don't forget -rRELENG_4 next time.)
|