aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-30Minor cleanups/tweaks to touch.Rob Landley
2007-11-29Add sha1sum. (No -c mode yet.) Slight tweaks to loopfiles() too.Rob Landley
2007-11-29Change command main() functions to return void, and exit(toys.exitval) fromRob Landley
the toybox infrastructure instead. Eliminates a return call from each command.
2007-11-29Add loopfiles() function, make catv use it.Rob Landley
2007-11-27Add a comment about a case that made me stop and think.Rob Landley
2007-11-25Rebuild toybox when a header file changesCharlie Shepherd
2007-11-27Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.Rob Landley
2007-11-27Add comment, and whitespace changes.Rob Landley
2007-11-23Add kconfig/conf to .hgignoreCharlie Shepherd
2007-11-23Add tty appletCharlie Shepherd
2007-11-27Add comment and very minor tweak.Rob Landley
2007-11-27Remove a few bytes from basename and add 'em back (and more) in the help string.Rob Landley
2007-11-27Patch from Charlie Shepherd to add basename and dirname. (Fixed up to apply.)Rob Landley
2007-11-24Re-roll loop, making code smaller. Also localize all the crypto informationRob Landley
into a struct that can be blanked in finalize (no more zeroing local variables).
2007-11-24Untangle algorithm: use uint64_t for count, move union into struct, use structRob Landley
more consistently, simplify macros a bit, redo finalization. Also toybox code is gplv2 so remove confusing output to the contrarary (in a main() that's going to get yanked soon anyway, but just to be clear...)
2007-11-24More cleanup: consistent indents, uint32_t, rename functions and structs,Rob Landley
argument order, etc. Use "this" instead of "context" to annoy the c++ guys.
2007-11-24Whitespace change: 4 spaces become one tab.Rob Landley
2007-11-24Minimal changes to make it actually work on an x86-64 host.Rob Landley
2007-11-24Start with public domain SHA-1 in C by Steve Reid <steve@edmweb.com>Rob Landley
http://www.mirrors.wiretapped.net/security/cryptography/hashes/sha1/sha1.c
2007-11-20Implement dmesg.Rob Landley
2007-11-19Tighten up error handling, add a umask() call so -m 123 actually works.Rob Landley
2007-11-19Replace strlcpy() with xstrcpy(), which exits if the string won't fit.Rob Landley
2007-11-15Add noreturn mark to [p]error_exit(), suggested by Charlie Shepherd.Rob Landley
2007-11-15Zap a warning.Rob Landley
2007-11-10Fix error messageCharlie Shepherd
2007-11-15Simplify touch -l slightly.Rob Landley
2007-11-10Add an option to let touch extend or truncate a file and rename the err ↵Charlie Shepherd
label to time_error to reduce confusion.
2007-11-10Don't error on stat success, and create files with a sensible mode instead ↵Charlie Shepherd
of 000
2007-11-10Use builtin functions to simplify some code in touchCharlie Shepherd
2007-11-10Fix typo in toysh tty description.Charlie Shepherd
2007-11-10Make toybox_unstripped depend upon toys/help.h (so it will be rebuilt when ↵Charlie Shepherd
toys/Config.in is updated)
2007-11-07Add initial mkfifo implementationCharlie Shepherd
2007-11-15Remove trailing whitespace (thanks to Charlie Shepherd), and a couple commentRob Landley
tweaks.
2007-11-06Replace space indent with tab indentCharlie Shepherd
2007-11-06Add .hgignore fileCharlie Shepherd
2007-11-15Change strlcpy not to use strncpy. (Adds 24 bytes, but doesn't memset theRob Landley
unused portion of the buffer to 0, which can touch and allocate physical pages for a large virtual mapping.)
2007-11-12Patch fromm Roberto Foglietta: distclean should remove toys/help.hRob Landley
2007-11-06Add or correct file descriptionsCharlie Shepherd
2007-11-06Move toybox_old delete (for bloatcheck) from clean to distclean.Rob Landley
2007-11-04Fix from Charlie Shepherd: at end of string, don't match the null terminatorRob Landley
as a yottabyte suffix. Also, the shift increment needs to be a long constant on 64-bit platforms for the top three suffixes to mean anything.
2007-11-04xcreate(): perror already prints error name and newline, remove redundancy.Rob Landley
2007-10-31Patch from Charlie Shepherd: Implement touch, set the default in Config.in toRob Landley
y, and remove the length argument (and all talk of changing the length of files).
2007-10-19Get toysh.c to start using the option parsing logic, and some minor cleanup.Rob Landley
2007-10-16Need to commit this too. :)Rob Landley
2007-10-11Promote help to global config option, teach error_exit() to output usage ↵Rob Landley
message when called from get_optflags().
2007-10-04Break out dirtree.c and let it call a function instead of returning the data.Rob Landley
2007-09-05Missing config dependency: The mdev config file should depend on mdev.Rob Landley
2007-09-04Move optimizer flags to OPTIMIZE, so "make CC=tcc OPTIMIZE=" is an option.Rob Landley
2007-09-01Minor tweak to web page.Rob Landley
2007-08-29Add "help" command. (Building help/help.h requires python, but I'll shipRob Landley
that file with release versions.)