Add new program: truncate
authorPádraig Brady <P@draigBrady.com>
Fri, 28 Mar 2008 22:55:31 +0000 (22:55 +0000)
committerJim Meyering <meyering@redhat.com>
Fri, 6 Jun 2008 12:16:45 +0000 (14:16 +0200)
commit75e0047c4b916393b6be3cb985c4c4d4a2d1a836
treeac520fe47c6ba9fa6a725d47ba6f20eb4be5ddc5
parent74c0bfbc4cf0b38c9c8af7b018f8bbff60da6767
Add new program: truncate

* AUTHORS: Register as the author
* NEWS: Mention this change
* README: Add truncate command to list
* src/truncate.c: New command
* src/Makefile.am: Add truncate command to list to build
* src/.gitignore: Add truncate binary to list to ignore
* doc/coreutils.texi (truncate invocation): Add truncate info
* man/Makefile.am: Add truncate man page to list to build
* man/truncate.x: Add truncate man page template
* po/POTFILES.in: Add truncate to list to translate
* tests/Makefile.am: Add truncate tests
* tests/misc/help-version: Add support for new truncate command
* tests/misc/truncate-dangling-symlink: check dangling link ok
* tests/misc/truncate-dir-fail: ensure dirs fail
* tests/misc/truncate-fail-diag: validate messages for missing paths
* tests/misc/truncate-fifo: ensure fifos ignored
* tests/misc/truncate-no-create-missing: ensure -c option honoured
* tests/misc/truncate-overflow: check signed integer overflows
* tests/misc/truncate-owned-by-other: root permissions check
* tests/misc/truncate-parameters: check invalid parameter combinations
* tests/misc/truncate-relative: check invalid relative sizes
21 files changed:
AUTHORS
NEWS
README
doc/coreutils.texi
man/Makefile.am
man/truncate.x [new file with mode: 0644]
po/POTFILES.in
src/.gitignore
src/Makefile.am
src/truncate.c [new file with mode: 0644]
tests/Makefile.am
tests/misc/help-version
tests/misc/truncate-dangling-symlink [new file with mode: 0755]
tests/misc/truncate-dir-fail [new file with mode: 0755]
tests/misc/truncate-fail-diag [new file with mode: 0755]
tests/misc/truncate-fifo [new file with mode: 0755]
tests/misc/truncate-no-create-missing [new file with mode: 0755]
tests/misc/truncate-overflow [new file with mode: 0755]
tests/misc/truncate-owned-by-other [new file with mode: 0755]
tests/misc/truncate-parameters [new file with mode: 0755]
tests/misc/truncate-relative [new file with mode: 0755]