Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/landley/toybox
toybox
https://github.com/landley/toybox
b0e204b33d77df151e2c33c48973820ba0fe0ca7 authored about 3 years ago
Use more _cmd suffixes on anchor tags because <a name=blah> and <span id=blah>
apparently stomp ...
f574706bb8a16b0cd32fba61c1b259969a70870f authored about 3 years ago
dedb7419c2ef6a8ba0cc80347b40e8d9ead098c2 authored about 3 years ago
df6da52cd502398fe6c35f43d83f92d89b3956d3 authored about 3 years ago
5499b2453c2d679d13113e1efa65207e3757f2f5 authored over 3 years ago
2d03640cdc85dd9f9810969bd8ee7d98c5bc67b1 authored over 3 years ago
TFTP supports passing options such as 'blksize' as part of the initial
RRQ or WRQ packet. These ...
3b41ba187f164907640af2f6e76bd51724848e3e authored over 3 years ago
0f52e6cbddd64fab11aa74deea25ff77f0ef7564 authored over 3 years ago
018db3feca576afded0da56c9d9c192417833f6a authored over 3 years ago
d319b974b8d3b91f9df17ae18bfcf27fbc2d336f authored over 3 years ago
and thus grep's match-after-null test.
852e4ca9b87e94afaa7a71f0e70a18eb72f826c3 authored over 3 years ago
Existing directories should be ignored without errors only with -p flag (according
to POSIX).
S...
b8418383a033a5bb6967889b3d1502e15127250b authored over 3 years ago
Believe it or not -- I struggle to believe it myself -- we've been
ignoring tail's complaint tha...
add calculate() wrapper around recalculate(), add the two EPOCH time magics,
handle VAR_TOUPPER, ...
9d7d87eae4a42ddbdd86233e78e24269c4af09cd authored over 3 years ago
Also modernize pidof.c, even though the bug was in lib.
1986075975db4cdab08133f8299ad72dd5af4b23 authored over 3 years ago9358f178cb7606e63a1e259949e0f549c32546f3 authored over 3 years ago
- Add simple hexdump implementation
- Add tests for hexdump
5a82dad22212b163323e23bb0383f3f7cd9002be authored over 3 years ago
For some reason "configure" is explicitly NOT passing
LDOPTIMIZE="-Wl,--gc-sections" to the mac ...
a39df1343a42f810cde5a6f5ff446eb3ff9c8b8b authored over 3 years ago
M was long enough ago that even I don't remember exactly when, and I
work on Android! The year i...
(Need to test this on FreeBSD too...)
7af571d485b7baa659919b7e1716e06fc24052a5 authored over 3 years ago
Major and minor get 12 bits and 20 bits respectively, so when displayed
that's up to 3 digits (b...
Update the documentation and github CI actions (seeing all failures on
github makes sense becaus...
Also use FLAG().
2243f6f2ad08d6fb58140ba05a00e5615dff760c authored over 3 years ago
Remove unbounded scanfs. Also reduce the amount of allocation and
freeing by reusing the getline...
3dd73e9d1086fa7da9b0514ffd503a2473b31fdc authored over 3 years ago
add to -a, add to help.
de233eb9fa6f4ebccc74d7e54b650ca935d43927 authored over 3 years agocbf3ee3a2f2242565ba4c960eefbbc144e58536f authored over 3 years ago
The unbounded %[] here made me look at the kernel, where the size of a
block device name is limi...
We don't need the fd=fd hack for GCC 3.4 in 2021, and <linux/vt.h> has
given names to the two ma...
...but you can get 0 if you have a "no newline at end of file" file.
I've been through all the ...
b30b1857da88f38f5f9f2e943f872d81ec6eb680 authored over 3 years ago
Just like every other time I've used %s with scanf, I was off by
one... The number _doesn't_ inc...
add tests, and update TEST_HOST tests that bash 5.x broke.
47258fc9a943e3618e8e6fc637eabe83dda3db28 authored over 3 years agof3559dc06f5d2a55417a824e494d1138d6017811 authored over 3 years ago
Note that these aren't equivalent to the CLOCK_MONOTONIC timer we
have on Linux, but short of sp...
(see https://www.spinics.net/lists/linux-api/msg49101.html) and use
an unsigned int argument whil...
On a desktop or server the difference between the realtime and monotonic
clocks doesn't matter m...
patch but with several other cleanups rolled in.
3062fc9e9a9f0d7ce347f32fa2e03cc8a793298f authored over 3 years agoAlso use FLAG().
2a5dc105a323a20ab3dce82f3b39fa20555ab174 authored over 3 years agob1e25f15dd1f0fbec77860b54def2881c9d27f5c authored over 3 years ago
05e4f52c3ccce4ce370ff272f5339a84ba8f1d69 authored over 3 years ago
Also reuse isdotdot() from lib.
762400721d7bfc760a5612efde55d599ee3525c2 authored over 3 years ago
We don't even need to read from /proc at all here: we can get the time
since boot from clock_get...
Actually, the general get_line() -> getline() transformation isn't
necessary here. These are all...
Remove another get_line() caller, but also fix the basic "show ARP
table" behavior which was pre...
fb3c380d070bb310352038a3a29de8506e6ff5af authored over 3 years ago
This is already the non-machine-readable version, most scripts ignore
extra fields on the end th...
(I was looking at this code because I was looking at the output in a bug
report, and wasn't sure...
Obviously we're never going to be able to build strace for macOS,
but right now the reference to...
3f8c3059a1f29a8af7a3f26e8474bfcd8ac12e01 authored over 3 years ago
317f1fa37c31491abea3e46514f06ee18a0305b5 authored over 3 years ago
e5ebc2a0af36e45ed121d8a0fa77170c579f1017 authored over 3 years ago
(Fixes "while do" segfaulting.)
42c0c0df6c7e04729be3ec27a64d5e11f4c5e31d authored over 3 years ago
This is most notably lacking -p and -f, and only covers a small subset
of system calls, but it's...
Requested by Facebook to avoid difficult quoting, but something we
should do anyway just to matc...
people, so don't depend on it.
a3b423c58e6f67131ef5f1874fc6bd38880322b6 authored over 3 years ago744b9532cd3a6c1ddb54eca64188b2a4a96ecd7a authored over 3 years ago
57fbeebb991a40e347df03563a5aae3192fc7d30 authored over 3 years ago
fb47b0120f7aa73c0821a8c55e15540d83baed01 authored over 3 years ago
5d9432ba05f12301939ad669ecf318a707fdcea8 authored over 3 years ago
The while loop for -a or -r was forgetting that argv is a char**.
Also:
* sort the options in ...
f4c9e355e8c5816918aebd6400e1891f56dd55c9 authored over 3 years ago
finit_module(2) was added in Linux 3.8, and even CentOS 7.2 has 3.10, so
we should be able to as...
59006c40d366f6295b18523e74c48c328f8fe656 authored over 3 years ago
80f82b2b5ee874637b0704f3a5a32c2b6fb86d14 authored over 3 years ago
busybox has a -d that delays before proceeding. Annoyingly systemd also
has a -d, but that's to ...
My original intent was to just get rid of the meaningless O_EXCL, which
isn't used by the kernel...
The other implementations just show Xs for the missing data and carry on.
a169c46f62dac57a907c58a852d48fdce235d62a authored over 3 years ago5ef32b9530198f22a01c65e6d297644e19b89c5c authored over 3 years ago
358109442c37bec57efd053aa777fd34bfe39186 authored over 3 years ago
7ef3a94541d5a932c9d644766235de62d3271474 authored over 3 years ago
the first command name is relevant.
e8f3f6c4f3d1afd51a2bb5a82c9f4e145a0d385f authored over 3 years ago
When I implemented this, I didn't actually have any i2c devices to test
with, and "quick write" ...
2f2c53f15b498e3ecf5cde499c5fdca4a965bd55 authored over 3 years ago
the point is to symlink other command names to it, and toybox
will see argv0 as the other command...
d9cf7a047543c9927bc755371769f6380d95a4d2 authored over 3 years ago
01f1a54769c8c1fe30a475e6999357f19b60e6aa authored over 3 years ago
3b71ff9d7e4cab52b9d421bc8daf2bdd7810731d authored over 3 years ago
842b0d24e304c57506ca83c147119dac29485bf9 authored over 3 years ago
PowerPC may be dead and gone, but arm64 is the new x86-64, and
x86-64 the new PowerPC :-)
23f16ee33e85aea73709c2e4d467288d56ad244c authored over 3 years ago
f438b6731da7e59df4d22ede60e5c8a7b6bd8998 authored over 3 years ago
8b64d4ac83b9406f587543ed99927f2175b82b2d authored over 3 years ago
Allow num_to_sig(0) so kill doesn't disallow -0 because it can't
round-trip, and then teach list...
This matches procps ps, and at least one LTP test relies on it. The
behavior is specifically "no...
a2bf4916be195f75c6097188401e472137276d49 authored over 3 years ago
b44af2dbc1aa5f020200615a664ec9f5c233d1f0 authored over 3 years ago
(In case of other errors.)
593ccd3cb4a38b9d57955d3b83361990918a07bc authored over 3 years ago
Two NUL headers indicate end of archive, but some implementations add lots
of extra NUL padding ...
haven't got a test environment for the new stuff yet.
Note: this implementation does not require...
9e7dbb6586ac98f50520db4b7614466a33e6f508 authored over 3 years ago3e30fb883137836a465c34df91af0eac338f5edf authored over 3 years ago
bc1dde183538670a95f43b13a9c8b1f11b7cfdf2 authored over 3 years ago
8d127abe871abee437921084bb34a4eac9cfd381 authored over 3 years ago
6b52142d276bbb3fbd3393f188b4416555bc827c authored over 3 years ago
6968b7a64096132e6e5129ba652b2c7d91c5d079 authored over 3 years ago
3cf5ec1e95683b59762759cc8171e427e77b06f0 authored over 3 years ago
f37e5bf24540ff3435734df8100416f404422662 authored over 3 years ago