Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-06 | portability.h: ensure _FILE_OFFSET_BITS=64 takes effect. | Elliott Hughes | |
I added a #include above this, which caused subtle breakages on 32-bit systems. Move it to the top of the file to fix it and avoid making a similar mistake in future. | |||
2020-10-29 | Make it easier to switch regex implementations. | Elliott Hughes | |
One reason to use toybox on the host is to get the same behavior across Android/Linux/macOS. Unfortunately (as we've seen from a few bugs) one area where that doesn't quite work is that toybox uses the libc regular expression implementation. That's fine, and mostly what users want, but those folks trying to get the exact same behavior everywhere might want to switch in a known regex implementation (bionic's NetBSD regex implementation, say) for increased consistency. That actually works pretty well, but portability.h has an #ifndef test for REG_STARTEND before including <regex.h> that gets in the way. To make up for that, this patch removes the unnecessary #include <regex.h> from grep.c itself. | |||
2020-10-28 | Tweak help text again. | Rob Landley | |
2020-10-24 | Tweak release notes.0.8.4 | Rob Landley | |
2020-10-24 | Silence kernel messages that stomp the command line after boot. | Rob Landley | |
2020-10-24 | Don't "quiet" the kernel builds. You can KARGS=quiet if you like. | Rob Landley | |
2020-10-24 | Past time for 0.8.4 | Rob Landley | |
2020-10-24 | Just the FAQ's, ma'am. | Rob Landley | |
2020-10-23 | Fix endless recursion bug on nommu for sh -c 'echo $(echo)' | Rob Landley | |
2020-10-22 | Fix thinko. | Rob Landley | |
2020-10-22 | Add nommu-able xvdaemon() and use it to remove some TOYBOX_FORK dependencies | Rob Landley | |
2020-10-21 | blkdiscard: fix uninitialised offset | Patrick Oppenlander | |
2020-10-21 | Tweak watchdog help. | Rob Landley | |
2020-10-21 | Promote watchdog. | Rob Landley | |
2020-10-20 | Typo. | Rob Landley | |
2020-10-20 | Can't call daemon() on nommu. | Rob Landley | |
2020-10-19 | More tests, and a workaround to pass one of them. | Rob Landley | |
(The bug is that "echo hello \" followed by just enter should end the $PS2 state but it persists when the line is empty because resulting collated line still ends with \ so it wants another line.) | |||
2020-10-19 | Do an "exec >/dev/console 2>&1" early in mkroot init so we have | Rob Landley | |
debug output if anything later in the script fails. | |||
2020-10-19 | Implement source, fix empty ${x-alt}, use %zu as suggested by e5ten. | Rob Landley | |
2020-10-18 | Add sha3sum. | Rob Landley | |
2020-10-15 | rtcwake: default to UTC if /etc/adjtime can't be read | Patrick Oppenlander | |
This is consistent with the util-linux implementation. | |||
2020-10-15 | hwclock: default to UTC if /etc/adjtime can't be read | Patrick Oppenlander | |
This is consistent with the util-linux implementation. | |||
2020-10-15 | stty: don't mangle c_iflags. | Elliott Hughes | |
Fixes https://github.com/landley/toybox/issues/251 where `stty 300` was mangling c_iflags to 0x300 because even if we don't match a full hex specification of struct termios, sscanf() will have overwritten the first value, which is c_iflag. | |||
2020-10-15 | chattr.test: don't fail on f2fs with compression enabled. | Elliott Hughes | |
f2fs with compression enabled only lets you `chattr +c` on an empty file. | |||
2020-10-15 | Patrick Oppenlander suggested watchdog also catch SIGINT. | Rob Landley | |
2020-10-15 | Three trivial code cleanups and a comment tweak. | Rob Landley | |
2020-10-15 | Nitpicky cleanup. | Rob Landley | |
We need to *name = 0 explicitly for the !name && !statless case, so don't need the +1 in memset that was only zeroing in the !name && statless case. | |||
2020-10-15 | dirtree_path: always honor size request. | Elliott Hughes | |
tar asks dirtree_path() to reserve space for a trailing '/', but recent changes broke that for the case that was resolving to just a strdup(). Caught by `export ASAN=1` and `make test_tar`. | |||
2020-10-14 | Fix && || traversing loops, and typecast past size_t being stupidly typed. | Rob Landley | |
2020-10-14 | Implement ${var/search/replace} | Rob Landley | |
2020-10-13 | Fix up ${x%y} ${x^y} ${x,y} and add tests. | Rob Landley | |
2020-10-12 | Fix bug introduced last commit: the if (name) else case needs to zero it. | Rob Landley | |
2020-10-11 | toysh: more variable/wildcard plumbing and tests. | Rob Landley | |
2020-10-06 | The non-recursive dirtree_path wasn't stripping a trailing / from initial path. | Rob Landley | |
2020-10-06 | toysh: Yank debug scaffolding. | Rob Landley | |
2020-10-06 | toysh file wildcards: echo toys/*/*.c works now. | Rob Landley | |
2020-10-05 | Update i2ctools.c | chrisrfq | |
Fix i2cdetect parameter reading so "last" value is read from correct argument. | |||
2020-10-04 | Implement ${x#y} and ${x##y} | Rob Landley | |
Debug wildcard * match, teach skipslash() to fill out a wildcard deck, make collect_wildcards() flush remove the parsing-only 0th entry. | |||
2020-10-03 | Return empty string for dirtree_path() of "" (instead of NULL). | Rob Landley | |
2020-10-03 | Non-recursive dirtree_path() needs to return start of allocation | Rob Landley | |
when passed in extra allocation length or else free() gets very unhappy. | |||
2020-10-02 | Cleanup pass on route.c | Rob Landley | |
2020-10-01 | Debug wildcard plumbing. | Rob Landley | |
2020-09-27 | Implement wildcard match plumbing. (Not yet fully debugged.) | Rob Landley | |
2020-09-26 | Teach dirtree that top level "" node is "." but not show in dirtree_path(). | Rob Landley | |
2020-09-23 | Have read_password() read from tty device, handle ctrl-c and ctrl-d. | Rob Landley | |
2020-09-23 | Only attempt to truncate regular files in dd. | Rob Landley | |
2020-09-23 | Add ftruncate logic to handle non-regular files | Chris Sarra | |
ftruncate was failing on device files, leading to whole dd.c failures. This patch allows us to dump device files. | |||
2020-09-23 | Cleanup pass on stty.c | Rob Landley | |
2020-09-23 | Chris Sarra pointed out that nerfing xprintf() so it doesn't actually flush | Rob Landley | |
broke the password: prompt. | |||
2020-09-23 | TEST_HOST with util-linux 2.29.2 was... unhappy. | Rob Landley | |