aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/truncate/truncate.c
Commit message (Expand)AuthorAgeFilesLines
* truncate: delintifyEitan Adler2018-07-291-2/+0
* truncate: use better type for 'round'Eitan Adler2018-07-291-2/+1
* truncate: Add support for -s % and /Emmanuel Vadot2018-07-091-6/+33
* truncate: style(9) some partsEmmanuel Vadot2018-07-091-10/+10
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* truncate: Detect integer overflow, fix relative sizes, add tests.Jilles Tjoelker2014-06-091-5/+7
* Use expand_number(3) from libutil instead of home-grown function to parseMaxim Sobolev2010-03-031-62/+5
* Initialize 'sz' as 0.Xin LI2009-02-211-2/+2
* Don't close file descriptor number <whatever random garbage was on theColin Percival2008-08-041-0/+1
* o Don't leak fd on error.Maxim Konovalov2006-09-181-4/+6
* Chase revision 1.10 in usage string and a comment.Ceri Davies2006-09-071-2/+2
* Allow to specify size in terabytes by using T or t suffix.Pawel Jakub Dawidek2006-04-091-0/+4
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
* Make size suffix case insensitive.Lukas Ertl2004-07-221-0/+3
* remove __PWarner Losh2002-03-221-2/+2
* Simplify some conditionals.Sheldon Hearn2000-07-241-12/+10
* Shut an optimizing compiler up about possibly (but never) unusedSheldon Hearn2000-07-241-0/+2
* truncate.c:Sheldon Hearn2000-07-241-4/+7
* Close file descriptors after use so as not to abuse the descriptorSheldon Hearn2000-07-231-0/+2
* Import the new truncate(1) utility.Sheldon Hearn2000-07-181-0/+202