Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-22 | Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.) | Rob Landley | |
2013-12-22 | Promote su from pending to lsb. | Rob Landley | |
2013-12-19 | killall: fix return code, improve error reporting, avoid buffer overflow. | Rob Landley | |
2013-12-19 | Don't permute toys.optargs, cleanup code (xexec()) can free it. | Rob Landley | |
2013-12-16 | Fix pidof -o bug aborting output, reported by Ashwini Sharma. | Rob Landley | |
2013-11-28 | Add xgetpwnam() to lib/xwrap.c. | Rob Landley | |
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-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-04 | First pass at umount, not quite done yet. | Rob Landley | |
2013-08-18 | Whitespace changes to passwd. | Rob Landley | |
2012-12-23 | Minor cleanups. | Rob Landley | |
2012-12-16 | LSB does not allow killall to kill itself | Elie De Brauwer | |
2012-12-16 | Extend killall with support for -v and -i | Elie De Brauwer | |
2012-12-23 | Whitespace. | Rob Landley | |
2012-12-16 | Extend seq to support -f (format string) and -s (string separator) as ↵ | Elie De Brauwer | |
requested by LSB | |||
2012-12-09 | Meddle. | Rob Landley | |
The <1 has to come first in the option string, normalize whitespace, sprintf of %d maxes out at -2 billion ala 12 bytes with null terminator so we don't need a length check in a 4k buffer, use the "%*s" feature of printf to prepend whitespace for us, take advantage of c99 defining ! to return 0 or 1. | |||
2012-12-08 | Adding -s (single shot) and -o (omit pids) options to pidof | Elie De Brauwer | |
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-11-19 | Teach option parsing about [groups] of related options. | Rob Landley | |
2012-11-16 | Add rebound support to intercept error_exit() and longjmp instead. | Rob Landley | |
2012-11-13 | Reindent to two spaces per level. Remove vi: directives that haven't worked ↵ | Rob Landley | |
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring. | |||
2012-11-03 | Make sha1sum and md5sum default to y. | Rob Landley | |
2012-10-23 | Add md5sum in lsb, combine sha1sum (mostly shared infrastructure). Downside: ↵ | Rob Landley | |
current infrastructure can't give them different help text. Hmmm... | |||
2012-10-08 | New build infrastructure to generate FLAG_ macros and TT alias, #define ↵ | Rob Landley | |
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate. | |||
2012-10-05 | Cleanup mknod. | Rob Landley | |
2012-09-09 | gethostname: Tighten up error messages slightly, switch to default "y". | Rob Landley | |
2012-09-03 | mktemp broke kernel build, so new rules: if you don't specify anything, ↵ | Rob Landley | |
/tmp/tmp.* Specify a file, ./file. Specify -p dir then dir/tmp.*. Specify -p dir and file, dir/file. Also implement -q which lsb wants. | |||
2012-08-25 | Regularize command headers, update links to standards documents. | Rob Landley | |
2012-08-25 | Move commands into "posix", "lsb", and "other" menus/directories. | Rob Landley | |