aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-10Initial cleanup of last: mostly whitespace, move no record test to start of ↵Rob Landley
loop, don't bother to stat an empty file to report when an empty log was created (just report current time).
2014-05-10Catch duplicate command name (which breaks the build already, but doesn't ↵Rob Landley
identify the culprit).
2014-05-06Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make ↵Rob Landley
du use it, move it from lib/pending.c to lib.c.
2014-05-06Use compiler built-in macros to determine if argument parsing can use double ↵Rob Landley
or float for FLOAT arguments. (I.E. whether double fits in a long's memory.) Check in a way that the macros not being defined just gives us the shorter one.
2014-05-05Fix bug reported by Ashwini Sharma: rebound has to be at the end or ↵Rob Landley
toy_init() doesn't zero the rest of the struct.
2014-05-02In function readfile(), the buffer buf is free'd when readall() fails. This ↵Ashwini Sharma
free can cause a crash, if the buffer passed by user of function is not malloc'ed one. names_to_pid() is one usecase example here.
2014-05-02Attached is the patch for lsattr and chattr implementation.Ashwini Sharma
This is the modified and better version from the last one I sent. It is having the both the mains (lsattr_main() and chattr_main() ) in single file. Also removed the dependency of additional file in lib, as common code is in the same .c file.
2014-04-29Teach cpio to set uid/gid and timestamp. (Timestamp has year 2100 problem.)Rob Landley
Note that directory timestamps are still sometimes wrong because creating things in a directory can update the timestamp. Also, cp -r has logic to ensure we can write to a directory that doesn't have write permission, cpio does not. This is fixable, but not what existing cpio does.
2014-04-25fold cleanup: whitespace and curly brackets.Rob Landley
2014-04-25Cosmetic tweak: spell out "Linux Standard Base" in menuconfig.Rob Landley
2014-04-25Fix od bug reported by Samuel Holland ("od -v -b" was appending default ↵Rob Landley
output type even though an output type was specified).
2014-04-23Add example directory, move hello.c into it, add skeleton.c to demonstrate ↵Rob Landley
more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig.
2014-04-23As long as uClibc's still around and requires you to jump through hoops to ↵Rob Landley
get iconv(), probe and build defconfig without it if it's not there.
2014-04-23usage: is lower case (the help generator looks for that, might as well be ↵Rob Landley
consistent).
2014-04-20Release announcement for 0.4.8.Rob Landley
2014-04-20Added tag 0.4.8 for changeset 8556669d3928Rob Landley
2014-04-16This version of fold fixes major bugs (infinite loop, overflow) and adds an ↵0.4.8Samuel Holland
option for un/refolding text.
2014-04-16Revert lots of half-finished local debris I didn't mean to check in with ↵Rob Landley
Isaac's roadmap update. Mercurial's "import" command is still broken, committing local tree changes to files that weren't even touched by the patch because the hg developers inisist, when I point out how stupid it is, that they meant to do that. (hg record can do hunks, but import can't even track _files_.)
2014-04-16Probe for the existence of FIFREEZE and make fsfreeze depend on it.Rob Landley
2014-04-15Probes for O_NOFOLLOW that compile and run something aren't compatible with ↵Rob Landley
cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says.
2014-04-13A tool to reset the terminal.Ashwini Sharma
This implementation depends on the _stty_ 'sane' settings.
2014-04-13An issue in ifconfig while verifying the HW Address, which is assumed to be ↵Ashwini sharma
of the format __C2:79:38:95:CD:AB__ but can be of form __C2:79:38:95:D:A__. In this case the HW address is reported as bad.
2014-04-13An implementation of __printf__ is attached.Ashwini Sharma
2014-04-13iconv cleanup.Rob Landley
2014-04-13iconv is actually something I'm missing on my current musl based system.Felix Janda
Attached is a simple version using the libc's iconv.
2014-04-12getty: build fix, clean up messages, simplify codeIsaac Dunham
build fix: xmsprintf has been renamed shorten and lowercase the error messages use xexec() instead of execlp(); perror_exit(); remove redundant variable setting
2014-04-12On further analysis, none of the glibc commands are interesting.Rob Landley
2014-04-12roadmap: describe glibc commands.Isaac Dunham
Some glibc commands are irrelevant because they're for functionality that is excluded from musl (mtrace, rpc*, localedef, iconvconfig, nscd). getconf and catchsegv look like candidates for the development toolchain; locale and iconv were already triaged. getent is pretty lame, but it and the timezone stuff (tzselect zic zdump) are the only new possibly interesting commands.
2014-04-10Fix date setting, and fluff out help text a bit.Rob Landley
2014-04-09modprobe: cleanup, incorporate Ashwini's fix for alias loadingIsaac Dunham
Move <fnmatch.h> to toys.h, since it's POSIX. Avoid duplicating code in an if/else block. Terser error messages, spelling. Don't always print the state.
2014-04-09Bugfix: if $TERM and friends aren't set, putenv() got passed a NULL.Rob Landley
2014-04-09Document some of the new temporary files in generated/, add anchor tags.Rob Landley
2014-04-09Note commands bundled with glibc but not musl.Rob Landley
No idea what to do about 'em yet, but there they are.
2014-04-09Modprobe from Madhur Verma and Kyungwan Han.Rob Landley
2014-04-09A getty implementation from Sandeep Sharma and Kyungwan Han.Rob Landley
2014-04-09_mkflags_ had an issue for generating FLAG_xxxx macros for long options.Ashwini Sharma
Only the first __long__ option, without any __short__ option had a proper flag value, rest all were defined to ZERO. Becaus the _flist_ was not moved to the next in this case.
2014-04-07generated/help.h is a lot easier to read with an extra newline between each ↵Rob Landley
help entry.
2014-04-03openvt tries opening several devices to get an fd that points to the current ↵Isaac Dunham
console, without a need for read or write permissions. O_RDWR implies that both O_RDONLY and O_WRONLY would work, so skip it. Reindent.
2014-04-03Here is a basic implementation of fold[0]. It does not support multibyte ↵Samuel Holland
characters, though that would probably just require more switch cases.
2014-04-02Decided not to go with the sflate implementation of deflate/inflate. The ↵Rob Landley
decompression side's already reimplemented in compress, and I'm working on compression side.
2014-04-02In ifconfig.c, there is a glitch in function get_addrinfo() when computing ↵Ashwini Sharma
the prefix length.
2014-04-01New toy fsfreeze, from Isaac Dunham, plus minor cleanups.Rob Landley
2014-04-01bugfix: the multiplexer increments optc and then the command the multiplexer ↵Rob Landley
runs increments it further, resulting in a wrong count. Fix: zero it.
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, ↵Rob Landley
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
2014-03-29find: clarify and expand the help for find -typeIsaac Dunham
2014-03-28Add help.html (make defconfig && help -ah > help.html) to index.Rob Landley
2014-03-28Add help -a (to show all commands) and -h (to produce HTML output).Rob Landley
2014-03-27Fix cpio -it: don't close(fd) unless we opened it.Isaac Dunham
2014-03-26More cpio bugfixes from Isaac Dunham.Rob Landley
Fix FLAG_o to actually be 1 like the comment says, don't try to strlen(name) before reading it, pad TRAILER!!! entry correctly.
2014-03-25Promote cpio out of pending.Rob Landley
After some waffling I put it in "posix", even though it was last specified in susv2 (where it was the obsolete 6 byte header entries predating susv4). LSB specifies it, including the 8 byte header fields, but for the actual command it just references SUSv2. (LSB isn't so much a standard as Red Hat's "notes to self".)