Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2013-07-17 | Add timeout, factoring out common code from sleep. | Rob Landley | |
2013-07-06 | This inlines CRC64, and nothing more. | Isaac Dunham | |
The functions involved were called only once. | |||
2013-07-03 | here's a version of paste. It doesn't deal with wide characters yet and | Felix Janda | |
likely behaves very badly when given too many files or delimiters. | |||
2013-07-01 | Make ls output major, minor for block devices.0.4.5 | Rob Landley | |
2013-06-30 | First pass at ls --color | Rob Landley | |
2013-06-30 | Condense ls help text. | Rob Landley | |
2013-06-30 | Fix another segfault in ls -C when terminal size is 0x0. | Rob Landley | |
2013-06-22 | Implement mv as an extension of cp. | Rob Landley | |
2013-06-16 | Implement split. | Rob Landley | |
2013-06-02 | Stat cleanup. | Rob Landley | |
lib: rename format_mode() to mode_to_string() (echoing string_to_mode), make it take a normal char * argument. stat: collapse big switch/case statements that only have one line each into if/else staircase (much fewer lines of code). Remove return type (other stat implementations print ? for unknown escapes, so do that here). Inline do_stat() and do_statfs(). Set default string in normal local variable "format". Remove unnecessary struct d. Restructure stat logic to "if (flagf && !statfs()) else if (!flagf && !stat()) else perror_msg();" Teach %N to add -> symlink. Judicious use of putchar() instead of xputc to let FILE * do its job collating output. | |||
2013-05-18 | Make groups handle multiple usernames on command line. | Ivo van Poorten | |
2013-05-14 | add groups implementation to id.c | Ivo van poorten | |
2013-05-10 | Convert getmountlist() to xgetmountlist(). | Rob Landley | |
2013-04-22 | Add library function for the file permission formatting in ls and stat | Felix Janda | |
2013-04-17 | Add -f to chmod (just turns off -v). | Rob Landley | |
2013-04-11 | uuencode tweak: output a non-whitespace character for 0 in traditional mode. | Rob Landley | |