Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-04-02 | Clean uudecode up the rest of the way, move pending->posix and default y. | Rob Landley | |
2013-03-26 | Finish uuencode cleanup, default y, move it from pending to posix. | Rob Landley | |
2013-03-21 | Fix a bug in patch I fixed back in 2010 but forgot to apply here. | Rob Landley | |
2013-03-21 | Add -a to who and switch to default y in defconfig. | Rob Landley | |
2013-02-22 | Fix a warning when debug code enabled. | Rob Landley | |
2013-02-22 | Move some unfinished commands to the "pending" directory. | Rob Landley | |
2013-02-10 | Implement cp -s option. | Rob Landley | |
2013-01-31 | Fix -in behavior: descend into existing directory without prompting, show ↵ | Rob Landley | |
full path in error messages, actually overwrite when answering yes to -i. | |||
2013-01-31 | id: make "id -Gn root" print root's groups instead of current user (and ↵ | Rob Landley | |
without leading space), enforce max 1 argument and at most one of Ggu. | |||
2013-01-31 | Add time command (that only does posix mode). | Rob Landley | |
2013-01-18 | Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ↵0.4.3 | Rob Landley | |
the unsupported symlink nofollow flag. | |||
2013-01-16 | Make "sudo cp -rp /dev/null blah" work. Still not happy with it, ↵ | Rob Landley | |
fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful). | |||
2013-01-12 | Update -p and -f to apply properly to various conditions. Still some bugs to ↵ | Rob Landley | |
squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos). | |||
2013-01-10 | Teach cp to do -n. | Rob Landley | |
2013-01-09 | Teach cp to do mknod. | Rob Landley | |
2013-01-07 | Adapt cp to updated dirtree code. | Rob Landley | |
2013-01-05 | Use basename() where appropriate. | Rob Landley | |
2013-01-04 | Make basename use basename(). | Rob Landley | |
2013-01-02 | Have 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-12-31 | Make dirtree_handle_callback() start with dirtree_ like the rest of the ↵ | Rob Landley | |
dirtree functions. | |||
2012-12-30 | Fix invalid free in toysh. | Felix Janda | |
2012-12-30 | Getting the pwd -L behavior right is fiddly. | Rob Landley | |
2012-12-27 | Add options -L and -P to pwd. | Felix Janda | |
2012-12-27 | mkfifo -m is already implemented. | Felix Janda | |
2012-12-26 | A screen width of 1 is possible (in some weird setups), and gives ls -C a ↵ | Rob Landley | |
division by zero error. | |||
2012-12-23 | Minor tweaks. | Rob Landley | |
2012-12-23 | Add -m option to mkdir | Felix Janda | |
2012-12-16 | Missing letter in help text. | Rob Landley | |
2012-12-12 | The Linux kernel "make clean" calls rm -f with no arguments, which ↵0.4.2 | Rob Landley | |
apparently is not an error. | |||
2012-12-10 | essat's flag not to follow symlinks isn't in the system call, and if libc is ↵ | Rob Landley | |
supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.) | |||
2012-12-08 | Add README file to each toys/ directory, teach build infrastructure to get ↵ | Rob Landley | |
fancy name from that. This means adding new directories shouldn't require touching build scripts. | |||
2012-12-08 | Complicate the rm -i behavior to do what posix specifies. | Rob Landley | |
2012-12-07 | New rm command. | Rob Landley | |
2012-12-06 | Have dirtree_add_node() set parent so error message can provide full path. | Rob Landley | |
2012-12-01 | Minor whitespace tweak. | Rob Landley | |
2012-12-01 | First guess at what internationalization support for expand would look like. | Rob Landley | |
2012-12-01 | Minor cleanup: unify two codepaths that do the same thing. | Rob Landley | |
2012-12-01 | Would the compiler like to warn me about declaring two variables with the ↵ | Rob Landley | |
same name in the same function? No? Carry on then... | |||
2012-12-01 | Felix Janda pointed out that the r in mbrtowc() stands for "restartable" so ↵ | Rob Landley | |
it's already buffering the partial data we feed it, so rolling back most of the last commit to wc. | |||
2012-12-01 | Re-add backspace support to expand (oops) and fix test to expect data plus ↵ | Rob Landley | |
backspace characters rather than the chracters cancelling each other out before output. | |||
2012-11-30 | Largeish rewrite of expand, mostly described on the mailing list. | Rob Landley | |
2012-11-28 | The previous wc -m didn't handle multibyte characters that crossed a buffer ↵ | Rob Landley | |
boundary, so take a guess at making that work. (I haven't got a test case for this. I also don't know how to handle invalid sequences so just don't count them.) | |||
2012-11-27 | First round of expand cleanups. | Rob Landley | |