summaryrefslogtreecommitdiffstats
path: root/usr.bin/truncate/truncate.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r267265: truncate: Detect integer overflow, fix relative sizes, add tests.jilles2014-12-071-5/+7
* Use expand_number(3) from libutil instead of home-grown function to parsesobomax2010-03-031-62/+5
* Initialize 'sz' as 0.delphij2009-02-211-2/+2
* Don't close file descriptor number <whatever random garbage was on thecperciva2008-08-041-0/+1
* o Don't leak fd on error.maxim2006-09-181-4/+6
* Chase revision 1.10 in usage string and a comment.ceri2006-09-071-2/+2
* Allow to specify size in terabytes by using T or t suffix.pjd2006-04-091-0/+4
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
* Make size suffix case insensitive.le2004-07-221-0/+3
* remove __Pimp2002-03-221-2/+2
* Simplify some conditionals.sheldonh2000-07-241-12/+10
* Shut an optimizing compiler up about possibly (but never) unusedsheldonh2000-07-241-0/+2
* truncate.c:sheldonh2000-07-241-4/+7
* Close file descriptors after use so as not to abuse the descriptorsheldonh2000-07-231-0/+2
* Import the new truncate(1) utility.sheldonh2000-07-181-0/+202
OpenPOWER on IntegriCloud