Commit Graph

7 Commits

Author SHA1 Message Date
sheldonh
06273e7e66 Merge the truncate(1) utility onto the RELENG_4 branch and adjust
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:52 +00:00
sheldonh
fa8e7cc207 Simplify some conditionals. 2000-07-24 21:50:38 +00:00
sheldonh
1951291f8f Shut an optimizing compiler up about possibly (but never) unused
variables.

Submitted by:	charnier
2000-07-24 21:46:12 +00:00
sheldonh
04a5c2bdc2 truncate.c:
Do not include unused header files.
	Add rcsid.
	Change copyright.

truncate.1:
	Add AUTHORS section.

Submitted by:	charnier
2000-07-24 08:56:42 +00:00
sheldonh
2ae5c3dffc Close file descriptors after use so as not to abuse the descriptor
table when a long argument list is given. :-)

Reported by:	Sven Agnew <afterhours80@hotmail.com>
2000-07-23 13:24:01 +00:00
sheldonh
c72af522a2 Add a STANDARDS section to discourage the use of this utility
in environments where portability is a concern.
2000-07-21 13:05:15 +00:00
sheldonh
5df055483d Import the new truncate(1) utility.
Approved by:	jdp
2000-07-18 17:03:58 +00:00