aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-20Using /dev/tty for yesno() is wrong because yes 'n' | cp -ial needs to work.Rob Landley
2012-03-19Unwind gratuitous macros.Rob Landley
2012-03-19Have probe for unshare test for actual unshare() function in libc.Rob Landley
2012-03-19Add string to mode_t parserDaniel Walter
added new function string_to_mode(char *m_string, mode_t base) which parses a given string and converts it to a mode_t. If either + or - are part of m_string the permissions are either added or removed from base. Currently support for permision copy is missing (e.g. g=u), but all other flags should work. Format for m_string: either symbolic modes or octal representation. symbolic modes: [auog][[+-=][rwxst]*] examples: string_to_mode("u=rwx,g=rw,o=r", 0); string_to_mode("a-x", 0777); string_to_mode("0744", 0);
2012-03-19Remove "feature test macros", replace non-portable fdprintf() with standard ↵Rob Landley
fprintf().
2012-03-16Implement Apple and Android versions of getline(), getdelim(), and clearenv().Georgi Chorbadzhiyski
2012-03-16The linux header doesn't prototype unshare, and the glibc header introduced ↵Rob Landley
a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves.
2012-03-15Simplify nanosleep call.Rob Landley
2012-03-14Implement uniq.Georgi Chorbadzhiyski
2012-03-14Default new ch* commands to n until enough is implemented not to break ↵Rob Landley
aboriginal build.
2012-03-13New toys - chmod, chown, and chgrp.Georgi Chorbadzhiyski
2012-03-12Extensive semi-gratuitous refactoring: factor out common code, handle ↵Rob Landley
euid!=uid and egid!=gid cases. (Note: test suite requires root access, possibly container support.)
2012-03-12Tighten up the code a bit, and use actual process group id instead of what ↵Rob Landley
/etc/passwd says.
2012-03-12Yet another header for technical susv4 compliance.Rob Landley
2012-03-12Redo tail to use optargs and optionally support lseek. Add support to ↵Rob Landley
optargs and llist.c, plus add a test suite entry. Still no -f support though.
2012-03-10Fix nanosleep() usage.Georgi Chorbadzhiyski
2012-03-09Replace deprecated libc function with its totally renamed equivalent.Rob Landley
2012-03-09Work around glibc regression by including Linux header directly.Rob Landley
2012-03-09Add lib/portability.h description with explanation of SWAP() macros.Rob Landley
2012-03-08More stabs at getting #includes right, and moving off of deprecated functions.Rob Landley
2012-03-07Fix mkdir -p to accept paths that already exist, and detect path ending in a ↵Rob Landley
file.
2012-03-07Consolidate headers.Rob Landley
2012-03-07Silence a couple pointless warnings.Rob Landley
2012-03-06Cleanups: use perror_msg() and make mode a global.Rob Landley
2012-03-06Add mkfifo.Georgi Chorbadzhiyski
2012-03-06Web page updates.Rob Landley
2012-03-06Comment and whitespace tweaks.Rob Landley
2012-03-05mkdir cleanups: Let umask do its thing at the syscall level, have mode be a ↵Rob Landley
global to prepare for -m, use do_blah name loopfiles() usually calls, one less redundant mkdir() call, go ahead and modify writeable args instead of strdup(), return before restoring / so error message is better, use perror_msg().
2012-03-05Add mkdir.Georgi Chorbadzhiyski
2012-03-05Fix xargs -0 option.Rob Landley
2012-03-05whoami: fix toy description, no code changesPere Orga
2012-03-04Add clear.Rob Landley
2012-03-04Add tac. (Shell wrapper is smaller, but all-in-one static binary is ↵Rob Landley
compelling use case.)
2012-03-04Minor optimization.Rob Landley
2012-03-04Add whoami.Georgi Chorbadzhiyski
2012-03-04Fix build on slackware-current.Georgi Chorbadzhiyski
2012-03-04Add longopt, refactor so only one instance of each loop, requre = as part of ↵Rob Landley
match, update exit code.
2012-03-03Implement printenv command.Georgi Chorbadzhiyski
2012-03-03Make floating point support depend on TOYBOX_FLOAT, make 0.1m work.Rob Landley
2012-03-03Add fraction and extension support to sleep.Georgi Chorbadzhiyski
2012-03-03Add -A to lsAndre Renaud
2012-03-03Added tag 0.2.1 for changeset 9bcc288a1c54Rob Landley
2012-03-03Fix from Georgi Chorbadzhiyski to make cross compiling more robust.0.2.1Rob Landley
2012-03-02This uses floating point.Rob Landley
2012-03-02Add copyright notice, fluff out help text, use xexec().Rob Landley
2012-03-02Only show one normal difference (sans -l) and EOF message should go to ↵Rob Landley
stdout, not stderr.
2012-03-02Cleanup pass, and support unrecognized slash chars ala "echo -e \p".Rob Landley
2012-03-01Add -n, which kernel build needs.Rob Landley
2012-02-28Now that generated/Config.probed is its own file, add it to build dependencies.Rob Landley
2012-02-28Make documentation even fluffier.Rob Landley