Kris Kennaway
4f377e65c4
Create temporary files in a secure directory, instead of using multiple
...
filenames based on a single invocation of mktemp() in /tmp, which is
easily predictable after the first one.
Audited by: markm
2000-11-22 11:09:30 +00:00
Ruslan Ermilov
f4d874a1db
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
Ruslan Ermilov
3450dff7f1
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 12:18:54 +00:00
Marcel Moolenaar
c71b3c67f1
Add -lcrypt. This fixes cross-building.
2000-11-20 02:19:05 +00:00
Kris Kennaway
29ac114aae
Unlink the temporary file immediately so it is removed on exit.
...
Obtained from: OpenBSD
2000-11-19 12:04:12 +00:00
Kris Kennaway
f743d11975
Fix a buffer overflow from a long local hostname.
...
Obtained from: OpenBSD
2000-11-19 10:08:26 +00:00
John W. De Boskey
aecbd99950
Add/fix the ability to split a file larger than 2 gigabytes.
...
Added $FreeBSD tag (in the way the already present sccsid is
done). I've been told the rcsid stuff may be of dubious value
so I'm curious to know if folks (still) use it.
Submitted by: Brad Chisholm <blc@bsdwins.com>
2000-11-19 01:44:20 +00:00
Matthew Hunt
45fe9882b0
"minute(s) period(s)" --> "minute(s)"
2000-11-17 23:08:03 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Ben Smithurst
76a06f8483
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
Ruslan Ermilov
b82f5db0ac
Spell the des's name correctly.
2000-11-14 13:19:26 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Paul Saab
ecc50bd485
-U cannot be an option since some signals start with U. -u is the
...
documented behavior so only check for that.
2000-11-12 07:43:50 +00:00
David Greenman
e61715de39
Changed variable killchar to killch and erasechar to erasech to avoid
...
a name clash with the library functions of the same name (in libncurses).
This problem was masked when building tset shared (the local symbols had
precedence), but caused tset to core dump when it was built -static.
2000-11-11 23:03:38 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Ruslan Ermilov
20279a10b2
Fixed typo: .ar -> .Ar.
2000-11-10 14:40:50 +00:00
David E. O'Brien
912209a5b2
Install `chflags' in the root partition, NOT /usr where it is not available
...
in single user mode.
2000-11-10 05:31:52 +00:00
Ruslan Ermilov
d6801b5c51
Fixed typo: .FL -> .Fl
2000-11-06 09:29:17 +00:00
Ruslan Ermilov
6c56f330ec
.UC -> .Os
2000-11-06 09:27:03 +00:00
Ruslan Ermilov
390f1a7402
Fixed typo: .EL -> .El
2000-11-06 09:20:09 +00:00
David E. O'Brien
de16accdd0
Switch over to using the Christos Zoulas maintained version in contrib/
...
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
2000-11-05 09:06:06 +00:00
Sheldon Hearn
c4c5e2bc46
Good-bye cruel world.
...
This software is obsolete, and its successor has interested parties
looking at it. Even if nobody was looking at kgzip, this utility
still wouldn't be useful in an environment where aout kernels
are a thing of the past.
PR: 20643
Submitted by: Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:04:02 +00:00
Sheldon Hearn
39bc1ed00a
Disconnect kzip from the build, as it's about to enter late retirement.
...
PR: 20643
Submitted by: Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:00:34 +00:00
David E. O'Brien
a07101ab73
Remove vestages of a previous implimentation of "-h".
...
Submitted by: Tony Finch <dot@dotat.at>
2000-10-31 02:26:10 +00:00
Guido van Rooij
591c194a92
Now that the amount of (pseudo) interfaces is growing with IPv6,
...
get rid of stupid upperbound on the amount of interfaces (was 8).
2000-10-30 11:53:19 +00:00
David E. O'Brien
d75c9e3a48
string.h has been repo copied to mystring.h
2000-10-30 10:04:56 +00:00
Chris D. Faulhaber
2d45aed6bc
Remove obsolete /dev/drum references
...
Reviewed by: alex, asmodai, billf
2000-10-29 12:19:52 +00:00
David E. O'Brien
ea257bd554
Add a new "-h" Human-friendly h/m/s output format.
...
Reviewed by: bde
2000-10-28 21:48:53 +00:00
Gregory Neil Shapiro
d1ba25f456
Add a MAINTAINER= line so people know who to blame
2000-10-26 23:02:36 +00:00
David E. O'Brien
9e1ade7750
While I'm here and got caught by it, add FreeBSD IDs so the next guy
...
won't have trouble committing his bits.
2000-10-26 10:07:20 +00:00
David E. O'Brien
e218b63212
Having a local `string.h' is just asking for trouble. As is having a
...
`struct string'. Rename the struct and effectively rename the header
to `mystring.h'
2000-10-26 10:00:52 +00:00
David E. O'Brien
cc66bbda3c
Use the pathnames from pathnames.h rather than hardcoding them here.
...
Add RCSIDs.
2000-10-26 09:52:06 +00:00
Poul-Henning Kamp
c23d986ebe
Add $FreeBSD$
...
Rename local offsetof() macro to boffsetof() to avoid clashing with
the offsetof() from <stddef.h>
2000-10-24 13:54:31 +00:00
Ruslan Ermilov
cf040f7474
The -o is the default for "short" display, not the -h.
2000-10-24 08:47:07 +00:00
Ruslan Ermilov
1e832bf81d
-Wall cleanup.
...
PR: 22187
2000-10-23 12:18:34 +00:00
David E. O'Brien
bcfa1e3a90
The last "-iDsym" makes more sense as "-iUsym".
2000-10-22 23:49:29 +00:00
Poul-Henning Kamp
f90e81f97b
Avoid using the semi-bogus include <struct.h>
...
All uses of fldsiz() in this file were wrong anyway.
2000-10-22 17:38:32 +00:00
Josef Karthauser
5da9f8fa97
Augment the 'ifaddr' structure with a 'struct if_data' to keep
...
statistics on a per network address basis.
Teach the IPv4 and IPv6 input/output routines to log packets/bytes
against the network address connected to the flow.
Teach netstat to display the per-address stats for IP protocols
when 'netstat -i' is evoked, instead of displaying the per-interface
stats.
2000-10-19 23:15:54 +00:00
Dag-Erling Smørgrav
a0c6ec97c9
Understand the difference between an empty file and a non-existent file.
...
This has been sitting in my tree for ages...
2000-10-19 21:05:59 +00:00
Nick Hibma
1d10fe5062
Fix the build break.
...
The solution isn't perfect, instead of printing the first report, it
will the report no report id, but the proper solution is more complex
than this. We would need to iterate over the report descriptor and
figure out all the report id's before starting to print.
2000-10-17 17:13:38 +00:00
Ruslan Ermilov
cb22e4fad5
Backed out part of the revision 1.10.
...
BLOCKSIZE could specify arbitrary block sizes, not exactly 1K blocks.
2000-10-16 10:00:50 +00:00
Brian Somers
fe4f4f067a
Include sys/types.h
2000-10-16 08:28:50 +00:00
Brian Somers
bff9e230c6
Include sys/types.h
2000-10-16 08:22:42 +00:00
Brian Somers
aab6541484
Include sys/types.h
2000-10-16 08:13:59 +00:00
Alexander Langer
c0206f33f7
Correct the usage of mktemp:
...
The old version lists all args as optional.
However, you need at least one arg to get a usable result.
PR: 18667
Reported by: obrien
Submitted by: Johan Karlsson <k@numeri.campus.luth.se>
Reviewed by: sheldonh
2000-10-15 11:35:48 +00:00
David E. O'Brien
41698bde61
Remove GLOBAL -- it has moved to Ports.
...
Approved by: unanimous response on arch@freebsd.org (June time frame)
2000-10-15 07:10:42 +00:00
Bosko Milekic
a01db67988
Change the "in use" percentage metric to actually display a real
...
"in use" percentage. In other words, show how much of mb_map is in use.
2000-10-15 06:29:22 +00:00
Dag-Erling Smørgrav
91ef813ce3
Skip sockets with no SCB
2000-10-13 16:25:37 +00:00
Dag-Erling Smørgrav
83d213303c
Fix suffix matching.
...
Restore historical behaviour when the first argument is an empty string.
Submitted by: Alexander N. Kabaev <ak03@gte.com>
Pointed out by: bde
2000-10-12 16:22:15 +00:00