Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-26 | More cpio bugfixes from Isaac Dunham. | Rob Landley | |
Fix FLAG_o to actually be 1 like the comment says, don't try to strlen(name) before reading it, pad TRAILER!!! entry correctly. | |||
2014-03-25 | Promote cpio out of pending. | Rob Landley | |
After some waffling I put it in "posix", even though it was last specified in susv2 (where it was the obsolete 6 byte header entries predating susv4). LSB specifies it, including the 8 byte header fields, but for the actual command it just references SUSv2. (LSB isn't so much a standard as Red Hat's "notes to self".) | |||
2014-03-16 | Clarify an unclear comment pointed out by Steve Long. | Rob Landley | |
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-03-11 | Factor out mkpathat. | Rob Landley | |
2014-02-22 | Add -H option to cksum (hex output), fix to use FLAG macros. | Rob Landley | |
2014-02-04 | Tweak help text. | Rob Landley | |
2014-01-29 | More elaborate help text collating logic. | Rob Landley | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-12-29 | Add -zZ support to grep (NUL delimited input/output). | Rob Landley | |
2013-12-27 | Pass through all the readfile() arguments from xreadfile(). | Rob Landley | |
2013-12-18 | ln -v support from Ashwini Sharma (comment tweak from me) | Rob Landley | |
2013-12-18 | Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite ↵ | Rob Landley | |
entries. | |||
2013-12-08 | Can't test <0 on an unsigned, reported by Nathan McSween. | Rob Landley | |
2013-12-03 | Redo od whitespace with multiple output types so the columns align. | Rob Landley | |
Factor out single output type into od_out_t(), call it in a loop for each type finding largest output (and if output consumes more than one byte of input average rounding up), pad each output to the largest output times number of bytes input consumed. | |||
2013-11-30 | Fix cut. | Rob Landley | |
Some commands went in before "pending", and thus need cleanup but are enabled in defconfig. The fact cut used a function out of lib/pending.c is a hint it might be in this category... | |||
2013-11-28 | Add xgetpwnam() to lib/xwrap.c. | Rob Landley | |
2013-11-28 | Move xgetpwuid() and xgetgrgid() into xwrap.c | Rob Landley | |
2013-11-09 | grep doesn't allocate enough space | William Haddon | |
Grep miscalculates the amount of memory it needs to allocate when "converting strings to one big regex" when the -e flag is not specified. Since in this case "\|" is inserted between strings rather than "|", two extra bytes rather than one need to be provided for each string. I noticed this because it caused grep to seg-fault on musl when a regex of exactly seven characters is provided. | |||
2013-10-31 | Patch from William Haddon to make xargs with blank input call its command ↵ | Rob Landley | |
line once. (Tweaked slightly for whitespace and to collate variable declarations.) | |||
2013-10-31 | Make the patch -x option (only enabled with CONFIG_DEBUG) provide more ↵ | Rob Landley | |
information about why a patch didn't apply. (Offset of first nonmatching character at each line during seek phase.) | |||
2013-10-27 | Promote nl from pending to posix, and add tests. | Rob Landley | |
2013-09-21 | Tweak args (yank old + that never worked, rename | to +), and add uname -o ↵ | Rob Landley | |
as a synonym for -s. | |||
2013-09-16 | Fix -t c0 and -J as reported by heehooman at gmail on the list. | Rob Landley | |
Also fix up help text, and hook up -c. | |||
2013-09-10 | First pass of cut cleanup, and make test script slightly happier with the ↵ | Rob Landley | |
concept of 80 character lines. | |||
2013-09-09 | Minor cleanups. | Rob Landley | |
2013-09-09 | Don't write a zero past end of toybuf with large -d value. | Rob Landley | |
2013-09-09 | Minor cosmetic tweaks to expand. | Rob Landley | |
Working my way through the to-review list that predates the "pending" directory. This gets expand off my to-review list. (Proof that "need to review" doesn't mean it's in bad shape, this command was fine. Changed capitalization in the help text because I'm trying to have "user supplies this value" be all caps, switched a read() to readall() although I'm not sure modern kernels actually allow -EINTR to generate zero length reads anymore, and since most of the loopfiles() target functions are called do_commandname() changed the name to that just so it's regular. None of the changes are actually important. :) | |||
2013-09-09 | Adjust patch to use dlist_pop() | Rob Landley | |
2013-09-09 | Redo tail closer to the original design. Add more tests for large data sets. ↵ | Rob Landley | |
(Still no -f support yet.) | |||
2013-09-06 | Missing typecast in recent rm fix. Oops. | Rob Landley | |
2013-08-30 | uname: Fix help string | Elie De Brauwer | |
2013-09-05 | env - there were 2 segfaults when run on my Ubuntu 12.04 machine: | Jacek Bukarewicz | |
- one is because eglibc sets environ to NULL on clearenv(). I added check for environ being not NULL when iterating over environment variables - switched xexec to xexec_optargs because command argument is a pointer to optarg which is freed by xexec. | |||
2013-09-05 | Make chdir handle permissions according to posix, reported by Jacek Bukarewicz.. | Rob Landley | |
2013-09-05 | fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub". | Rob Landley | |
Previous version didn't delete it, but exited without error. Neither was right. | |||
2013-09-02 | Switch ls from utoa to sprintf. | Rob Landley | |
2013-09-01 | Implement ls --color=auto, suggested by Rich Felker. | Rob Landley | |
2013-08-31 | tail: Some fixes | Felix Janda | |
- Rewrite most of the not lseek() logic - Change meaning of len in line_list - Use single instead of double linked list | |||
2013-08-30 | Allow getmountlist to read fstab too. | Rob Landley | |
2013-08-21 | Fix bug where exit code was only correct for -q. | Rob Landley | |
2013-08-19 | Move grep from pending to posix, switch default to y. | Rob Landley | |
2013-08-18 | Use OPTSTR_command macro for more oldtoys, to avoid keeping two option ↵ | Rob Landley | |
strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.) | |||
2013-08-18 | Fix wrong printf type. | Rob Landley | |
2013-08-18 | Fix usage: lines for a couple commands. | Rob Landley | |
2013-08-18 | Cleanup du. | Rob Landley | |
2013-08-16 | Normalize df menu entry and tweak help text. | Rob Landley | |
2013-08-01 | Need to specify bool for CP_MV_MORE config symbol to avoid warnings. | Rob Landley | |
2013-08-01 | ls --color should depend on LS in menuconfig. | Rob Landley | |
2013-07-31 | Move renice from pending to posix, default y, fix link to standard. | Rob Landley | |
2013-07-18 | Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵ | Rob Landley | |
free/reuse bug during argument parsing. |