#
303975 |
|
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
267265 |
|
09-Jun-2014 |
jilles |
truncate: Detect integer overflow, fix relative sizes, add tests.
The change to expand_number (r204654) broke detection of too large sizes and relative sizes ('+'/'-').
Also add some tests.
PR: 190735 Submitted by: Kirk Russell MFC after: 1 week
|
#
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 |
|
22-Mar-2002 |
imp |
remove __P
|
#
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
|