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