Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-04 | Work with buildroot's extensively patched uClibc, and for nommu support move ↵ | Rob Landley | |
xfork() to portability.h and #ifdef based on __uClinux__ (which seems to be the nommu compiler define). | |||
2014-12-04 | Implement xstrncat() and fix xstrndup(). | Rob Landley | |
2014-10-18 | Factor out printf-style escape parsing logic from echo.c. | Rob Landley | |
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-08-24 | Work in progress snapshot of mount, with fallout to umount. (Not done yet.) | Rob Landley | |
2014-08-03 | Implement exec -user, -group, and -newer. Enable find in defconfig. | Rob Landley | |
2014-08-02 | Yank xrealpath prototype since the function's gone. | Rob Landley | |
2014-07-26 | Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ↵ | Rob Landley | |
open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle. | |||
2014-07-21 | Little endian and big endian versions of peek (for host.c). | Rob Landley | |
2014-06-25 | Cleanup pass on mkpasswd.c | Rob Landley | |
2014-06-09 | Forgot to check in strstart(). | Rob Landley | |
2014-06-03 | mount: start on option parsing, implement loopback and bind mount autodetection. | Rob Landley | |
2014-05-31 | Introduce xfork() and make commands use it, and make some WEXITSTATUS() use ↵ | Rob Landley | |
WIFEXITED() and WTERMSIG()+127. | |||
2014-05-29 | Switch mtab_list to doubly linked so we can traverse in either order. ↵ | Rob Landley | |
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction. | |||
2014-05-27 | Add mount options to data getmountlist collects. | Rob Landley | |
2014-05-21 | Add generic_signal() handler, which sets toys.signal and writes byte to ↵ | Rob Landley | |
toys.signalfd if set. | |||
2014-05-21 | Add free functions for predefined llist types. | Rob Landley | |
2014-05-06 | Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make ↵ | Rob Landley | |
du use it, move it from lib/pending.c to lib.c. | |||
2014-03-29 | Group headers by standard (POSIX or LSB) or function (internationalization, ↵ | Rob Landley | |
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix. | |||
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-02-07 | Move bunzip2 logic from lib into bzcat. | 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-27 | Pass through all the readfile() arguments from xreadfile(). | Rob Landley | |
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-19 | Move names_to_pid from pending to lib. | Rob Landley | |
2013-11-28 | Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). ↵ | Rob Landley | |
Check that in. | |||
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-10 | Break out lib/pending.h from lib/lib.h. | Rob Landley | |
2013-11-07 | Tweak terminal_size to never set either to 0, and return true/false whether ↵ | Rob Landley | |
it could determine at least one coordinate. (If you set $COLUMNS but not $ROWS, we assume you're happy with the 80x25 default for the other.) | |||
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-09-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
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 | Ashwini Sharma submitted route.c, adding it to pending. | Rob Landley | |
2013-09-03 | Introduce libbuf analogous to toybuf but for use by lib/*.c. Change ↵ | Rob Landley | |
readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. | |||
2013-09-03 | Remove itoa/utoa, let libc do this with sprintf. | Rob Landley | |
2013-08-30 | Allow getmountlist to read fstab too. | 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-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-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-12 | add grep | Strake | |
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-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-26 | Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c ↵ | Rob Landley | |
and move xsocket() to it. |