Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-08-30 | Add scripts/single.sh to build individual non-multiplexed standalone commands. | Rob Landley | |
Alas, you can't quite do this yet: make defconfig make for i in $(./toybox) do echo $i PREFIX=singles/ scripts/single.sh $i || break done Because the OLDTOY() aliases for commands won't build without the base command. And I can't just skip them because chown/chmod or mv/cp aren't the same thing. | |||
2013-08-27 | Rewrite pmap to be simpler and match other implementation's output more closely. | Rob Landley | |
2013-08-26 | syslogd: cleanup | Felix Janda | |
- fix bugs introduced in the cleanups - inline addrfds() and open_unix_socks() and simplify them - use xpidfile() - remove isNetwork from struct logfile - invert the meaning of facility and level in struct logfile so that they are automatically correctly initialized - fix memory leak regarding the filenames of logfiles - TT.sd was unused | |||
2013-08-18 | Remove files du no longer needs. | Rob Landley | |
2013-08-10 | Add daemonize function to lib for klogd and syslogd | Felix Janda | |
2013-08-08 | Achille Fouilleul pointed out that fdlength wasn't returning the right ↵ | Rob Landley | |
length in the binary search case. (This code was originally written for mke2fs, and applies to block devices. The regular file case should just return the length from stat. The ioctl is left commented out in case I want to add back code to check the size of CDROMs without spinning them up again; not sure the sector size is always right these days.) | |||
2013-08-07 | Forgot to check in xfdopen(). My bad. | Rob Landley | |
Failure of fdopen() is most likely failure of malloc() for the FILE structure. | |||
2013-07-31 | Cleanup renice and implement '|' (required option) in argument parsing. | Rob Landley | |
2013-07-19 | Start of TOYBOX_SINGLE support, for building standalone commands with no ↵ | Rob Landley | |
multiplexer. | |||
2013-07-17 | Add timeout, factoring out common code from sleep. | Rob Landley | |
2013-07-16 | Split lib/xwrap.c from lib/lib.c | Rob Landley | |
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 | |