aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2013-04-11More of same.Isaac Dunham
Actually, it's not quite the same: -use crc_init(xz_crc32_table,1) -- I guessed on this one based on a match between magic constants, then tested it. First try was wrong, but this works. (This is the sole difference in terms of actual _code_, as opposed to cleaning up defines and the like--here, it adds 48 bytes to final size if xzcat is the only toy, but drops 32 bytes if bzcat is also enabled...) -Move some crc64 code to where the comments are. This puts them near the area where they're used. -Remove some relics of separate files (we had half a dozen "this file is in the public domain" notices, a duplicate include, and used extern declarations for functions in the samefile)
2013-04-10More cleanup on find.Rob Landley
2013-04-10Redo find's indenting from tabs to two spaces.Rob Landley
2013-04-10Partial cleanup of findFelix Janda
- Remove unnecessary headers - dump_node is not used anywhere - exec_buf is unused - Replace SUCCESS with 1 and simplify code accordingly - a==0 -> !a - Simplify an incremation pattern using pre-increments - Add static keyword to functions - Make error messages print to stderr
2013-04-10Some xzcat cleanup by Isaac Dunham.Rob Landley
2013-04-05More ifconfig cleanups, mostly removing unused code.Rob Landley
2013-04-04Drive-by cleanup on ifconfig.Rob Landley
2013-04-04An ifconfig bugfix from the original submitter.Rob Landley
2013-04-02Kyungwan Han submitted ifconfig.Rob Landley
2013-04-02Clean uudecode up the rest of the way, move pending->posix and default y.Rob Landley
2013-03-28More uudecode cleanup.Rob Landley
2013-03-28More uudecode cleanup.Rob Landley
2013-03-27Incremental cleanup of uudecode.Rob Landley
2013-03-27Fix the USE() macro around NEWTOY, tweak help text, remove unnecessary ↵Rob Landley
wrapper, tweak whitespace and curly brackets.
2013-03-26Add help text for pending test command. (No actual implementation yet.)Rob Landley
2013-03-26Finish uuencode cleanup, default y, move it from pending to posix.Rob Landley
2013-03-24First round of uuencode cleanup: generate table, tweak help text, remove ↵Rob Landley
unnecessary output buffers, simplify base64 functions..
2013-03-24Logger, by Ilya Kuzmich.Rob Landley
2013-03-22uuencode/decode tests and tweaks from Erich Plondke.Rob Landley
2013-03-21Fix a bug in patch I fixed back in 2010 but forgot to apply here.Rob Landley
2013-03-21Add -a to who and switch to default y in defconfig.Rob Landley
2013-03-20Explain that code in the "pending" directory isn't necessarily ready for ↵Rob Landley
prime time.
2013-03-18uuencode and uudecode by Erich Plondke.Rob Landley
2013-03-18The old nbd-client I wrote in 2010. Needs cleanup.Rob Landley
2013-03-16Move mdev into the pending directory, since it's not done yet.Rob Landley
2013-03-15Isaac Dunham took the public domain xz-embedded code and made an xzcat. I ↵Rob Landley
glued all his files together into one big one and threw it in pending. It needs something between cleanup and a complete rewrite.
2013-03-13Remove more debug code from find.Rob Landley
2013-03-13A couple quick fixes to find so I can try it out.Rob Landley
2013-03-13Find by Gurang Shastri.Rob Landley
2013-03-05Call stat "stat" instead of "st" in menuconfig. Use xmalloc() instead of malloc.Rob Landley
perror_msg() sets return code already. Truncate long english messages that don't get translated. Don't return int from a function hardwired to always return 0. Don't test for that hardwired return value to change and print an error message that can never happen and would be a duplicate anyway. More whitespace cleanup. C does not require typecasting void *. Remove 404 URL to stat.html that isn't in posix.
2013-03-05Fix whitespace in submitted stat command.Rob Landley
2013-03-05Fix another allyesconfig build break in the pending directory.Rob Landley
2013-02-24Sed's still just a stub, but clean it up enough so it at least compiles.Rob Landley
2013-02-24Add readahead.Rob Landley
2013-02-22Fix a warning when debug code enabled.Rob Landley
2013-02-22Move some unfinished commands to the "pending" directory.Rob Landley
2013-02-10Implement cp -s option.Rob Landley
2013-02-03Some older build environments don't have LOOP_CTL_GET_FREE or ↵Rob Landley
LOOP_SET_CAPACITY. Substitute constants so they can get the rest of losetup without a build break.
2013-01-31Fix -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-31id: make "id -Gn root" print root's groups instead of current user (and ↵Rob Landley
without leading space), enforce max 1 argument and at most one of Ggu.
2013-01-31Add time command (that only does posix mode).Rob Landley
2013-01-18Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ↵0.4.3Rob Landley
the unsupported symlink nofollow flag.
2013-01-17Switch readlink on by default, and fill out readlink.test.Rob Landley
2013-01-16Make "sudo cp -rp /dev/null blah" work. Still not happy with it, ↵Rob Landley
fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).
2013-01-14Silence deeply stupid gcc warning. (First non-declaration line of function: ↵Rob Landley
if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?)
2013-01-12Update -p and -f to apply properly to various conditions. Still some bugs to ↵Rob Landley
squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).
2013-01-10Teach cp to do -n.Rob Landley
2013-01-09Teach cp to do mknod.Rob Landley
2013-01-07Adapt cp to updated dirtree code.Rob Landley
2013-01-05Use basename() where appropriate.Rob Landley