Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-24 | Fix mkdir -p with absolute paths. | Rob Landley | |
Stripping leading / is not the right thing to do there. Broken when the code moved to lib and was genericized for use elsewhere. | |||
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-03-11 | Add "volatile" annotation to peek/poke to stop potential optimizer overreach. | Rob Landley | |
2014-02-28 | Fix another bug reported by Ashwini Sharma. | Rob Landley | |
2014-02-16 | Various cleanups found by Tom Sparrow's static analysis. | Rob Landley | |
2014-02-07 | Move bunzip2 logic from lib into bzcat. | Rob Landley | |
2014-01-28 | Two changes to shut up GCC: | Isaac Dunham | |
* __GLIBC__ was checked unconditionally; this made for a very messy build on musl. * int fd in chvt is always initialized; GCC 3.4 does not recognize this. | |||
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 | Attached is an implementation for groupdel. | Ashwini Sharma | |
This is aliased to delgroup, for a requirement at my end. Also lib/password.c is modified to along with. | |||
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 | Only define MNT_DETACH for old glibc, portability.h included _before_ ↵ | Rob Landley | |
sys/mount.h... | |||
2013-12-19 | Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot. | Rob Landley | |
2013-12-19 | Move names_to_pid from pending to lib. | Rob Landley | |
2013-12-08 | Doing math on void pointers isn't portable, reported by Nathan McSween. | 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 | du from Ashwini Sharma. | 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-11-03 | Fix off by one, pointed out by Ashwini Sharma. | Rob Landley | |
2013-11-02 | Give xstrncpy() a more informative error message. | Rob Landley | |
2013-11-02 | Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵ | Rob Landley | |
options isn't very interesting anymore. | |||
2013-10-27 | Refactor terminal querying. | Rob Landley | |
2013-10-16 | Minor lib/password.c cleanup, described on the list. (Inline two functions.) | Rob Landley | |
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-10-06 | Whitespace tweaks and remove unused variable. | Rob Landley | |
2013-10-06 | It's not a problem to exactly fill up the buffer with a run if the next ↵ | Rob Landley | |
symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896 | |||
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-21 | Fluff out option parsing documentation, add another DEBUG test. | Rob Landley | |
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-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
2013-09-10 | Remove two unused functions and shrink another. | Rob Landley | |
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-09 | Fix [-group] argument dropping. | Rob Landley | |
2013-09-03 | Replace ↵ | Rob Landley | |
for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers. | |||
2013-09-06 | Ashwini Sharma submitted route.c, adding it to pending. | Rob Landley | |
2013-09-06 | Make [-abc] exclude logic clear argument slots when disabling options. | Rob Landley | |
2013-09-06 | Fix for xpidfile spotted by Felix Janda. | 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-09-01 | Improve --longopt parsing: general bugfixes, better error reporting, new ; ↵ | Rob Landley | |
option for optional arguments only suppliable with =. | |||
2013-08-30 | Allow getmountlist to read fstab too. | Rob Landley | |
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 | |