Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-20 | fix hwclock's rtc selection | Elliott Hughes | |
For systems using /dev/rtcN, /dev/rtc0 isn't necessarily the RTC that's used to provide the system time at boot time. We need to search for the RTC whose /sys/class/rtc/rtcN/hctosys contains "1". | |||
2015-01-20 | fix typo in printf | Elliott Hughes | |
2015-01-18 | Remove trailing whitespace. | Rob Landley | |
2015-01-18 | Lift the basename/libgen.h shenanigans back out of portability.c and make it ↵ | Rob Landley | |
a static inline in portability.h, and prototype dirname() while we're at it. | |||
2015-01-18 | fix non-glibc basename(3) usage | Elliott Hughes | |
I considered a #else on the big #ifdef __GLIBC__ above, but that seemed harder to follow. | |||
2015-01-16 | Move pty.h back to toys.h (under LSB 4.1 headers). | Rob Landley | |
2015-01-16 | AOSP master has <pty.h> and builds netcat/nc. | Elliott Hughes | |
2015-01-16 | id.c #ifdefectomy. (ifdefs belong in headers, not in C code.) | Rob Landley | |
2015-01-16 | This patch adds a TOYBOX_SELINUX configuration option to control both | Elliott Hughes | |
the SELinux commands (such as chcon) and the SELinux-specific options to regular commands (such as ls -Z). This lets us #include <selinux/selinux.h> in portability.h. I've also fixed chcon to insist on being given the a context argument. This patch also adds -Z to id and fixes id's regular output (-G should be separated by spaces, non-G output should be separated by commas, and you don't want a double comma where the egid is omitted from the list of groups). | |||
2015-01-15 | Added tag 0.5.1 for changeset 62a7d617e1ce | Rob Landley | |
2015-01-14 | Switch netcat to stop parsing command line at first nonoption argument ↵ | Rob Landley | |
instead of stopping after -l or -L. Hyejin Kim tried "toyboxd nc nc -p 1234 -l rm mv ps" (which attempted to run "nc rm mv ps") and "toybox nc -l -p 1234" (which attempted to run "-p 1234") and found the behavior confusing. So make it work like xargs, where all netcat options have to come before the start of any child command. | |||
2015-01-14 | Make touch -d miliseconds work. (Still only 6 digits precision instead of 9, ↵ | Rob Landley | |
but it's a start.) | |||
2015-01-14 | i found a few problems while manually smoke testing toybox chown versus ↵ | Elliott Hughes | |
toolbox (NetBSD) chown... new test: and here's the patch to fix "owner:" ":group" and the ":" special case: | |||
2015-01-14 | Let chown build standalone. | Rob Landley | |
2015-01-13 | sed bugfix: N or n at end of script would save the terminating NULL as the ↵ | Rob Landley | |
resume position, so the script would restart from beginning. | |||
2015-01-13 | sed s/// can have line continuations in the replacement part, with or ↵ | Rob Landley | |
without a \ escaping the newline. | |||
2015-01-11 | Promote printf. | Rob Landley | |
2015-01-11 | One more bugfix for printf.c, with test suite entry. (Make %-3d etc work.) | Rob Landley | |
2015-01-11 | Cleanup pass on printf. | Rob Landley | |
Alas, passing a union as the last argument to printf does not appear to work reliably, and there's no obvious way to manually assemble varargs in a portable manner. So I have to repeat the printf once for each data type. Oh well. | |||
2015-01-10 | More half-finished cleanup of printf.c, and more test suite entries. | Rob Landley | |
2015-01-06 | Since "printf" is a shell builtin, printf.test wasn't actually testing anything. | Rob Landley | |
2015-01-06 | More printf cleanup, and test suite entries. | Rob Landley | |
Fixes bug introduced last time where toys.optargs was both snapshotted and used directly and the two fell out of sync. | |||
2015-01-04 | Fix sed backslash parsing in square bracket pattern sections. | Rob Landley | |
2015-01-03 | Another cleanup pass on printf. | Rob Landley | |
2015-01-03 | Move fflush() checking to xexit() and have exit paths in main() call that. | Rob Landley | |
2015-01-02 | Cleanup pass on printf. | Rob Landley | |
2015-01-02 | Need to update install.c for the changed OLDTOY() argument list. | Rob Landley | |
2015-01-01 | Tweak status.html | Rob Landley | |
2015-01-01 | Switch a lot of strncpy() calls to xstrncpy(). | Rob Landley | |
2015-01-01 | strncpy(optptr, hname, strlen(hname)) is really just strcpy(). | Rob Landley | |
2015-01-01 | strtol() doesn't return error indicator for overflow, it just sets errno. So ↵ | Rob Landley | |
add estrtol() (which clears errno first), and xstrtol() (which error_exit()s on overflow). | |||
2015-01-01 | Debris from flag handling rewrite: don't allow -^A to actually trigger. | Rob Landley | |
2015-01-01 | typo fixes | Elliott Hughes | |
2014-12-31 | Fix for mix from Isaac Dunham (who can actually test it). (I tweaked the ↵ | Rob Landley | |
curly brackets.) He says: In the channel selection loop, "if (TT.chan)" had been combined with a strcmp; the else conditionals were premised on if (TT.chan) alone. The help text had been only partially updated for a couple option changes. | |||
2014-12-31 | Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag ↵ | Rob Landley | |
macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags). This means the flag space is no longer packed, but leaves gaps where the zeroes go. (Actual flag bit positions are the same for all configs.) Since the option parsing needs to know where the holes are, the OPTSTR values are now generated as part of flags.h with ascii 1 values for the disabled values. (So generated/oldflags.h went away.) This also means that the option string argument for OLDTOY() went away, it now uses the same arguments as the NEWTOY() it references. | |||
2014-12-31 | When CP_MORE was disabled, the d flag was still in the [-exclusion] list at ↵ | Rob Landley | |
the end and option parsing fell off the end looking for it (segfault) if DEBUG wasn't enabled to check for that. | |||
2014-12-31 | When you include the posix header libgen.h, glibc #defines basename to some ↵ | Rob Landley | |
random other symbol name (because gnu) and this screws up nontrivial macro expansions of NEWTOY(basename), so work around it in portability.h. | |||
2014-12-30 | Link to gmane web archive. | Rob Landley | |
2014-12-28 | Another random link for the design page. | Rob Landley | |
2014-12-28 | Fluff out help text. | Rob Landley | |
2014-12-27 | Promote mix | Rob Landley | |
2014-12-27 | Cleanup mix.c. | Rob Landley | |
2014-12-24 | Teach factor to accept whitespace separated arguments (reported by Robert ↵ | Rob Landley | |
Thompson). (The diff looks bigger than it is because of reindenting.) | |||
2014-12-23 | getenforce and setenforce | Elliott Hughes | |
two more easy SELinux commands: | |||
2014-12-23 | those of us who need to check in generated files find that 'tr' and | Elliott Hughes | |
'traceroute' keep swapping places. self-inflicted, yes, but not much i can do about it :-( | |||
2014-12-23 | Merge catv back into cat as discussed on the list. Add comments about ↵ | Rob Landley | |
infrastructure upgrades needed to restore separate catv option. | |||
2014-12-22 | Allocate space for null terminator. | Rob Landley | |
2014-12-22 | sed 'r' didn't work right. | Rob Landley | |
2014-12-21 | Another sed bug. (The e2fsprogs build uses multiple line continuations on ↵ | Rob Landley | |
the same command.) | |||
2014-12-21 | Promote sed to posix. | Rob Landley | |