aboutsummaryrefslogtreecommitdiff
path: root/toys/other/truncate.c
AgeCommit message (Collapse)Author
2019-01-25OpenEmbedded needs commands installed in specific places.Rob Landley
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2016-09-05Replace loopfiles' failok with WARN_ONLY open flag.Rob Landley
2015-04-28Fix truncate prefix bug and add truncate test suite entry.Rob Landley
2015-04-28Add prefix support Hyejin Kim asked about.Rob Landley
2014-10-14Use O_CLOEXEC instead of O_RDONLY to signal loopfiles_rw() to close filehandles.Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out ↵Rob Landley
other places that were setting it that no longer need to.
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
2012-08-25Regularize command headers, update links to standards documents.Rob Landley
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley