Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-14 | New stuff added to lib.c needs review too, so make a lib/pending.c and move ↵ | Rob Landley | |
several functions to it. | |||
2013-07-12 | add grep | Strake | |
2013-07-06 | This inlines CRC64, and nothing more. | Isaac Dunham | |
The functions involved were called only once. | |||
2013-06-22 | Option type @ counts number of occurrences, it doesn't take an argument. | Rob Landley | |
2013-06-16 | Add xexit() and make error_exit() use it. | 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-06-01 | Add peek/poke to header file. | Rob Landley | |
2013-06-01 | Enable readfile() and add peek() and poke() functions. | Rob Landley | |
2013-05-19 | xioctl() error message should use hex ioctl number; that's what headers list. | Rob Landley | |
2013-05-14 | Silence warning and comment a subtle bit. | Rob Landley | |
2013-05-10 | Convert getmountlist() to xgetmountlist(). | Rob Landley | |
2013-04-30 | Fix bare longopts to set unique optflag bits. | Rob Landley | |
2013-04-29 | Fix xabspath when last path component exists but we haven't got permissions ↵ | Rob Landley | |
to open it (ala readlink -f /dev/sda as a normal user). Spotted by Ashwini Sharma. | |||
2013-04-29 | Fix conflicting types for show_help(). | Rob Landley | |
2013-04-22 | Add library function for the file permission formatting in ls and stat | Felix Janda | |
2013-04-26 | Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c ↵ | Rob Landley | |
and move xsocket() to it. | |||
2013-04-26 | Remove leaked global path_mounts. | Rob Landley | |
2013-04-26 | Eliminate leaked global bunzip_errors. | Rob Landley | |
2013-04-20 | More ifconfig cleanup. | Rob Landley | |
2013-04-14 | Move guts of help command into show_help() in lib/help.c, with config ↵ | Rob Landley | |
TOYBOX_HELP controlling infrastructure. | |||
2013-04-06 | Fix argument parsing so -- doesn't include itself in output. | Rob Landley | |
2013-03-17 | Remove unused min/max macros. | Rob Landley | |
2013-03-11 | Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl ↵0.4.4 | Rob Landley | |
doesn't conform to posix-2008. | |||
2013-03-09 | O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to ↵ | Rob Landley | |
supply them for broken headers. | |||
2013-02-24 | Comment updates and a policy statement about avoiding #define GNU_dammit | Rob Landley | |
2013-02-04 | More support for old (~2008) build environments, move the #ifdef checks for ↵ | Rob Landley | |
symbols out of specific library version checks (shouldn't hurt anything), remove obsolete debug macro. | |||
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-17 | Fix xabspath() resolving symlink after .., and properly detecting failure ↵ | Rob Landley | |
for last entry after nondir. | |||
2013-01-15 | Work around more random uClibc-specific breakage. | 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-29 | Ashwini Sharma pointed out that my previous tweak to [!abc] groups still ↵ | Rob Landley | |
didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for). | |||
2012-12-27 | Fix option grouping. | Rob Landley | |
2012-12-16 | Extend killall with support for -v and -i | Elie De Brauwer | |
2012-12-08 | Adding -s (single shot) and -o (omit pids) options to pidof | Elie De Brauwer | |
2012-12-08 | Complicate the rm -i behavior to do what posix specifies. | Rob Landley | |
2012-12-08 | Make yesno() always read from stdin and write to stderr. (If we need to find ↵ | Rob Landley | |
our tty, open /dev/tty, but existing users don't.) | |||
2012-12-06 | Have dirtree_add_node() set parent so error message can provide full path. | Rob Landley | |
2012-12-01 | Remove unused structure definition. | Rob Landley | |
2012-12-01 | Fix ancient glibc workaround to force fstatat64 | Rob Landley | |
2012-11-23 | Add expand command as described in POSIX-2008. | Jonathan Clairembault | |
Erratum: Do not handle backspace. | |||
2012-11-26 | The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some ↵ | Rob Landley | |
other stuff. Fix it up in portability.h. | |||
2012-11-25 | Fix typo. | Rob Landley | |
2012-11-22 | Remove readlink -m for being poorly defined ("readlink -m ↵ | Rob Landley | |
/dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse(). | |||
2012-11-20 | Update readlink so -f works. Add -menq while there. | Rob Landley | |
2012-11-19 | Teach option parsing about [groups] of related options. | Rob Landley | |
2012-11-17 | Fix leak (call endmntent). | Rob Landley | |
2012-11-16 | More touch cleanup to use generic infrastructure: use getdate() from libc, ↵ | Rob Landley | |
use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros. | |||
2012-11-16 | Add cut from Jason Kyungwan Han. | Rob Landley | |
2012-11-16 | Add rebound support to intercept error_exit() and longjmp instead. | Rob Landley | |