#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
204654 |
|
03-Mar-2010 |
sobomax |
Use expand_number(3) from libutil instead of home-grown function to parse human-friendly power-of-two numbers (i.e. 2k, 5M etc).
Suggested by: many MFC after: 1 week
|
#
188887 |
|
21-Feb-2009 |
delphij |
Initialize 'sz' as 0.
|
#
181279 |
|
04-Aug-2008 |
cperciva |
Don't close file descriptor number <whatever random garbage was on the stack>.
Found by: LLVM/Clang Static Checker MFC after: 1 week
|
#
162412 |
|
18-Sep-2006 |
maxim |
o Don't leak fd on error. o parselength() returns 0 or -1 so int is enough for its return type.
Submitted by: Ighighi Ighighi, sheldonh MFC after: 3 weeks
|
#
162114 |
|
07-Sep-2006 |
ceri |
Chase revision 1.10 in usage string and a comment.
|
#
157614 |
|
09-Apr-2006 |
pjd |
Allow to specify size in terabytes by using T or t suffix. This speeds up my testing a bit. Because truncate(1) doesn't allocate blocks on file system before they are used, it is very useful to emulate huge file systems:
# truncate -s 16T fs.img # mdconfig -a -f fs.img # newfs /dev/mdX
(-t swap can be used as well)
|
#
146466 |
|
21-May-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
#
132542 |
|
22-Jul-2004 |
le |
Make size suffix case insensitive.
PR: bin/27604 Submitted by: David Xu <davidx@viasoft.com.cn>
|
#
92922 |
|
21-Mar-2002 |
imp |
remove __P
|
#
63820 |
|
24-Jul-2000 |
sheldonh |
Rev 1.4 shut up warnings about uninitialized (not unused) variables.
|
#
63817 |
|
24-Jul-2000 |
sheldonh |
Simplify some conditionals.
|
#
63816 |
|
24-Jul-2000 |
sheldonh |
Shut an optimizing compiler up about possibly (but never) unused variables.
Submitted by: charnier
|
#
63790 |
|
24-Jul-2000 |
sheldonh |
truncate.c: Do not include unused header files. Add rcsid. Change copyright.
truncate.1: Add AUTHORS section.
Submitted by: charnier
|
#
63774 |
|
23-Jul-2000 |
sheldonh |
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>
|
#
63437 |
|
18-Jul-2000 |
sheldonh |
Import the new truncate(1) utility.
Approved by: jdp
|