summaryrefslogtreecommitdiffstats
path: root/src/truncate.c
AgeCommit message (Expand)AuthorLines
2016-11-14all: reduce usage of proper_name_utf8()Pádraig Brady-1/+1
2016-10-16all: use die() rather than error(EXIT_FAILURE)Pádraig Brady-4/+5
2016-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2015-11-04all: avoid quoting file names when possiblePádraig Brady-11/+11
2015-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2014-12-19diagnose too-large numbers betterPádraig Brady-31/+5
2014-09-19doc: output correct --help references with --program-prefixPádraig Brady-1/+1
2014-09-08maint: prefer 'return status;' to 'exit (status);' in 'main'Paul Eggert-1/+1
2014-07-13build: support building all tools in a single binaryAlex Deymo-1/+1
2014-01-02maint: update all copyright year number rangesBernhard Voelker-1/+1
2013-06-22doc: clarify that truncate --size represents bytes by defaultPádraig Brady-1/+1
2013-02-06maint: improve error messages upon failed read, write, access, closeBenno Schulenberg-1/+1
2013-01-23maint: define usage note about mandatory args centrallyBernhard Voelker-4/+3
2013-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2012-08-04truncate: don't leak a file descriptor with --ref=PIPEJim Meyering-1/+8
2012-06-22maint: refactor common mode bits used to create filesPádraig Brady-3/+1
2012-05-10maint: handle file sizes more reliablyPaul Eggert-16/+41
2012-01-09maint: src/*.c: change remaining quotes (without embedded spaces)Jim Meyering-1/+1
2012-01-09maint: convert `...' to '...' in --help outputJim Meyering-2/+2
2012-01-09maint: prep for global quoting changes: handle irregular cases manuallyJim Meyering-4/+4
2012-01-07maint: use new emit_try_help in place of equivalent fprintfJim Meyering-2/+1
2012-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2011-06-13maint: use stat-size module from gnulibJames Youngman-0/+1
2011-06-09maint: remove unneeded includesPádraig Brady-1/+0
2011-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2010-11-16truncate: fix a very unlikely case for undiagnosed errorsPádraig Brady-14/+15
2010-05-31maint: make spacing around "=" consistent, even in IF_LINTJim Meyering-1/+1
2010-05-29truncate: improve handling of non regular filesPádraig Brady-41/+18
2010-05-28truncate: support sizes relative to an existing filePádraig Brady-14/+22
2010-04-09maint: ftruncate is always available, even without gnulibJim Meyering-6/+1
2010-02-15doc: fix inconsistent capitalization in --help outputPádraig Brady-1/+1
2010-01-01maint: update all FSF copyright year lists to include 2010Jim Meyering-1/+1
2009-09-21doc: mention the texinfo documentation in --helpPádraig Brady-1/+1
2009-09-10doc: improve various BLOCKSIZE and SIZE helpOndřej Vašík-4/+1
2009-08-25maint: remove Local Variables: indent-tabs-mode: nil from all sourcesJim Meyering-6/+0
2009-05-11truncate: fix bug in use of isspaceEric Blake-3/+3
2009-04-07maint: Clarify ambiguous refs to Linux kernels or GNU/Linux systemsPádraig Brady-1/+1
2008-12-21build: add configure-time --enable-gcc-warnings option; avoid warningsJim Meyering-1/+1
2008-06-30truncate: ignore whitespace in --size parametersPádraig Brady-0/+6
2008-06-27truncate: silence -Wsign-compare warningsPádraig Brady-2/+2
2008-06-27truncate: Fix integer portability issuesPádraig Brady-3/+4
2008-06-26truncate: handle the case in which off_t != intmax_tJim Meyering-5/+16
2008-06-16remove redundant const directivesJim Meyering-1/+1
2008-06-14add "const" attribute, where possibleJim Meyering-1/+2
2008-06-14revert previous change, "don't use "const" with scalar types"Jim Meyering-5/+5
2008-06-14don't use "const" with scalar typesJim Meyering-5/+5
2008-06-08standardize some error messagesBo Borgerson-1/+1
2008-06-06Add new program: truncatePádraig Brady-0/+405