Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-15 | Simplify tac, the newline checking is already done in the get_line() function | Elie De Brauwer | |
2012-12-16 | Missing letter in help text. | Rob Landley | |
2012-12-12 | The Linux kernel "make clean" calls rm -f with no arguments, which ↵0.4.2 | Rob Landley | |
apparently is not an error. | |||
2012-12-10 | Add stat submission to new "pending" directory, along with infrastructure to ↵ | Rob Landley | |
support pending. | |||
2012-12-10 | essat's flag not to follow symlinks isn't in the system call, and if libc is ↵ | Rob Landley | |
supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.) | |||
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-12-08 | Complicate the rm -i behavior to do what posix specifies. | Rob Landley | |
2012-12-07 | New rm command. | Rob Landley | |
2012-12-06 | Have dirtree_add_node() set parent so error message can provide full path. | Rob Landley | |
2012-12-03 | Use sched_{set,get}affinity directly so musl doesn't have to provide wrappers. | Rob Landley | |
2012-12-01 | Minor whitespace tweak. | Rob Landley | |
2012-12-01 | First guess at what internationalization support for expand would look like. | Rob Landley | |
2012-12-01 | The open group changed their website stupidly, so opengroup.org/onlinepubs ↵ | Rob Landley | |
forwards to a dead server and you have to use pubs.opengroup.org/onlinepubs now. Change the hello template to note the new location. (Waiting to see if they fix it upstream before touching every command in toys/posix.) | |||
2012-12-01 | Minor cleanup: unify two codepaths that do the same thing. | Rob Landley | |
2012-12-01 | Would the compiler like to warn me about declaring two variables with the ↵ | Rob Landley | |
same name in the same function? No? Carry on then... | |||
2012-12-01 | Felix Janda pointed out that the r in mbrtowc() stands for "restartable" so ↵ | Rob Landley | |
it's already buffering the partial data we feed it, so rolling back most of the last commit to wc. | |||
2012-12-01 | Re-add backspace support to expand (oops) and fix test to expect data plus ↵ | Rob Landley | |
backspace characters rather than the chracters cancelling each other out before output. | |||
2012-11-30 | Largeish rewrite of expand, mostly described on the mailing list. | Rob Landley | |
2012-11-28 | The previous wc -m didn't handle multibyte characters that crossed a buffer ↵ | Rob Landley | |
boundary, so take a guess at making that work. (I haven't got a test case for this. I also don't know how to handle invalid sequences so just don't count them.) | |||
2012-11-27 | login: Avoid gcc to drop exit condition because of "always false condition". | Jonathan Clairembault | |
2012-11-27 | First round of expand cleanups. | Rob Landley | |
2012-11-23 | expand: handle backspace. | Jonathan Clairembault | |
2012-11-23 | Add expand command as described in POSIX-2008. | Jonathan Clairembault | |
Erratum: Do not handle backspace. | |||
2012-11-26 | Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.) | Rob Landley | |
2012-11-26 | Cleanup i18n support (#ifdefectomy, move global init to process launch). ↵ | Rob Landley | |
Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them. | |||
2012-11-25 | Update touch: add remaining posix arguments, make existing ones work. | Rob Landley | |
2012-11-21 | Make internalization support optional | Felix Janda | |
2012-11-22 | Remove readlink -m for being poorly defined ("readlink -m ↵ | Rob Landley | |
/dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse(). | |||
2012-11-20 | Update readlink so -f works. Add -menq while there. | Rob Landley | |
2012-11-20 | Commit 698 adding cut should ahve included the actual cut.c file. (Oops.) | Rob Landley | |
2012-11-19 | Teach option parsing about [groups] of related options. | Rob Landley | |
2012-11-16 | More touch cleanup to use generic infrastructure: use getdate() from libc, ↵ | Rob Landley | |
use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros. | |||
2012-11-16 | Fix touch warnings (unused variables, failure to reserve space for null ↵ | Rob Landley | |
terminator). | |||
2012-11-16 | Refactor touch (cleanup whitespace, brackets, function order), code ↵ | Rob Landley | |
otherwise same. | |||
2012-11-16 | Add touch from Choubey Ji. | Rob Landley | |
2012-11-16 | Add rebound support to intercept error_exit() and longjmp instead. | Rob Landley | |
2012-11-15 | Make ls default to -C if no option specified and it's outputting to a tty. | 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-12 | Yet another attempt to get the fiddly patch file creation logic right. | Rob Landley | |
2012-11-10 | On 32 bit platforms %ld doesn't match uint64_t, so do long long and %lld ↵ | Rob Landley | |
(rather than deal with verbose PRIu64 nonsense). | |||
2012-11-10 | Fix reversed test: patch creates a file if /dev/null or dated the epoch ↵ | Rob Landley | |
_and_ first hunk being replaced is 0 lines at start of file, not one or the other. | |||
2012-11-08 | Change df percentage calculation to match posix, spotted by Roy Tam. | Rob Landley | |
2012-11-08 | wc -m only cares about counting characters. Attached is a try on ↵ | Felix Janda | |
implementing it and some test cases for it. The test cases are only for UTF-8 locales. | |||
2012-11-03 | Make sha1sum and md5sum default to y. | Rob Landley | |
2012-11-01 | Add vconfig.c - Creates virtual ethernet devices. | Kyungwan Han | |
2012-10-26 | Follow symlinks to get actual device name, getmountlist() reverses order for ↵ | Rob Landley | |
us now, detect stdout to full device. | |||
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 | Simplify sha1sum a little. | Rob Landley | |