Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Toybox

Toybox provides common Linux command line utilities together in a single BSD-licensed executable that's simple, small, fast, and reasonably standards-compliant.
Collective - Host: opensource - https://opencollective.com/toybox - Website: https://landley.net/toybox/about.html - Code: https://github.com/landley/toybox

toybox: tar: Fix support for long names

Pathnames may be longer than the name field in the header, so use
strncpy() instead of xstrncpy(...

github.com/landley/toybox - 28711d308d9d70801ac0c9552df834ddafff2385 authored almost 9 years ago
toybox: tar: Fix tar tests

Don't rely on ordering of readdir for tests.

Change-Id: Ice24bb64ce453acb0006e3746677d619db933ab1

github.com/landley/toybox - 5b61086cac812b60d21e8cfe0e74920f791bc5bc authored almost 9 years ago
main.c: fix non-root usage when installed suid root

When toybox is installed suid root and invoked by a non-root user for
commands which do not requ...

github.com/landley/toybox - 62b53ed9e64e40d2534f1239c4b314d84e79f15f authored almost 9 years ago
Add seq -w, suggested by izabera.

github.com/landley/toybox - e2d042c8e868a129396f03ec759e2ccdb8304833 authored almost 9 years ago
Factor out strnstr() since posix hasn't got it, and add a config option for

the deeply sad passwd heuristics that don't even check numbers and punctuation.

github.com/landley/toybox - f435f0412aa4ca631aa178d10ed33008e34f37cb authored almost 9 years ago
make wc -c faster

github.com/landley/toybox - 3684510034450f5f50d1ad9b5acca327a5c484dd authored almost 9 years ago
use unsigned long with factor

github.com/landley/toybox - e8427bfd008be233aadea49e89075451c8a9ceee authored almost 9 years ago
Although printf("%.*s", INT_MAX, s) works fine on ubuntu 12.04, it broke since.

github.com/landley/toybox - 93e27d0d4723d57082463c4d70e6443060a8732b authored almost 9 years ago
implement env -u

github.com/landley/toybox - 1e77f70a1d94a345892ddf88f9e46de1c5c91a48 authored almost 9 years ago
Add ulimit.

This isn't a shell builtin, it uses prlimit to target any pid (without -P
it defaults to $PPID, ...

github.com/landley/toybox - 2f3f26ea1ec581cd24a0778323eb0844f03fd6a3 authored almost 9 years ago
Fix xpipe. (thinko.)

github.com/landley/toybox - a7a869c2d5f9398a6348dbeacbfec115a5b7d34e authored almost 9 years ago
Add xpipe() to lib.

github.com/landley/toybox - 85f54d8e836ac80264111df7d87db6c15eaca558 authored almost 9 years ago
Dependencies for "make COMMAND"

github.com/landley/toybox - 9b14cb6aa57c56080bbbc0db85027c3f834fb06f authored almost 9 years ago
Add "make ls" and friends targets, with "make working" and "make pending" lists.

github.com/landley/toybox - 712e43ef7c92e8903e6f9d7ca261a420c566d299 authored almost 9 years ago
Add a warning when building commands out of pending.

github.com/landley/toybox - 3679024969b9b71c1d53a1d76f1aeb9593404490 authored almost 9 years ago
Debian unstable is even more pedantic than previous debian.

github.com/landley/toybox - 5e1c429eec977cd365f490137ca9dede0caef662 authored almost 9 years ago
Another fix from Josh Gao to avoid a null pointer dereference, and

minor cleanup of previous commit.

github.com/landley/toybox - 0f11b42938f4ae32b2c80b1c0644b75e64da4ada authored almost 9 years ago
Fix segfault when `find -iname` gets no argument.

github.com/landley/toybox - 2fd8d1a2595ee49f01d2987b125b642b7f50ea65 authored almost 9 years ago
Fix -H and -n with -ABC, and add tests.

github.com/landley/toybox - c02619bbc0acbb2b4588933ec1bbb7b7026adbb6 authored almost 9 years ago
Merge branch 'master' of ssh://github.com/landley/toybox

github.com/landley/toybox - f42356f850c64fb3b2cd23595789fb4daf03f35b authored almost 9 years ago
Commit d20b9ff3ee0f fixed most of yocto building, but there was a leftover

(redundant) file built from the makefile (which _should_ just be a wrapper
for scripts/make.sh an...

github.com/landley/toybox - 9a64b8db59db8182255bd56abdd472939c33fabe authored almost 9 years ago
Update to status.html and some test suite cosmetic tweaks.

github.com/landley/toybox - 8cbde4b27cc0c73fa4b9a0b13fc5c335e9741645 authored almost 9 years ago
Editorial comment.

github.com/landley/toybox - dabdebdc7a27bde9638f1f8f528427d9f8b65fa0 authored almost 9 years ago
Fluffier release notes.

github.com/landley/toybox - 5fdb5d91bf7b39883c1806cd5dba371460f6b5d3 authored almost 9 years ago
Release notes.

github.com/landley/toybox - 6dd236d1d3385d7761db41291a46ca70a6c96242 authored almost 9 years ago
Release time.

Calling it 0.7.0 because the fullscreen (cursor/utf8) infrasructure is in now.

github.com/landley/toybox - d2893d8173da0729af3c78661a8309bfce3e5ba5 authored almost 9 years ago
Fix directory test in cp.

Commit 3d33dd80f8cb931e293d7f64c44bc357fec11120 fixed a use of S_ISDIR
on st_dev rather than st_...

github.com/landley/toybox - 2554243d8872a5083ad2bbd019e2e513000df3c6 authored almost 9 years ago
Add find -delete

github.com/landley/toybox - 8aee3e5b5e774e3d79951d240e08384590811ffc authored almost 9 years ago
More testsuite tweaks.

github.com/landley/toybox - 3f3049c2f1b225f244fe3c1205935c48c542a055 authored almost 9 years ago
chmod.test had umask assumptions which broke, so set explicit umask.

github.com/landley/toybox - 324a4a018a4e949d2262ca622722948712ec4a4d authored almost 9 years ago
Fix broken test in cat.test.

"cat /proc/self/exe && cmp /proc/self/exe" won't see the same file if cat
and cmp aren't both in...

github.com/landley/toybox - e5e286bf3cd8544ab161c508cbc810a104a7b186 authored almost 9 years ago
Fix blkid typo (label wasn't detected in murderfs).

github.com/landley/toybox - acf34f524d28fc51ac06dae6a1a6948d3e26bb68 authored almost 9 years ago
Tweak to "find" tests.

github.com/landley/toybox - 8b847943dea4da31d5235c9bf7d73ce34e371fd0 authored almost 9 years ago
Add grep -B -C

github.com/landley/toybox - 36aed25f3f54f7871d5810adfe99d96944e0afb4 authored almost 9 years ago
Add grep -A

github.com/landley/toybox - b97d8211fa5c382f32e9a9f606a8566bd2ec09fb authored almost 9 years ago
Fix two CFG_TOYBOX_SUID corner cases:

1) Don't try to force re-exec unless we actually dropped permissions.
(Fixes "./toybox mount"...

github.com/landley/toybox - ca311f1a41a579a57076adfeb2cc08b20dbca21a authored almost 9 years ago
Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill.

github.com/landley/toybox - 4a13ca98e18cea4acc8d605653d0ee8425e34f59 authored almost 9 years ago
Adding -M broke ps -k header printing without -M.

github.com/landley/toybox - 852740618edc876ac7416e18c2f92f78707cd708 authored almost 9 years ago
Bugfix I forgot to checkin, plus a wrapper function.

github.com/landley/toybox - 8f7137e4e4850e17eea8c045865885bb1bc2f3bc authored almost 9 years ago
Don't resort or recalculate headers for cursor up/down, do PGUP PGDN, and

down move way down past end of list.

github.com/landley/toybox - 33f50f5ff5930815e0a6a6e4af55905df2ec6bdf authored almost 9 years ago
Add cpu line to top, and fix a bug initializing upticks slot.

github.com/landley/toybox - c35aabc1af80da053136acf8feb53947d219b87c authored almost 9 years ago
long opts and -f for unshare

github.com/landley/toybox - 5f238a3b5c3de7d9500cc55f33969fe516e1cb86 authored almost 9 years ago
Don't try to be fancy with top headers, just hardwired the standardish ones.

Still need to do the cpu(s) line in top.

github.com/landley/toybox - 3f3613fb6d82a34737d04cb8930d1d53e521a8f5 authored about 9 years ago
Add ps -M to measure/expand field widths if they don't fit.

(Still truncates at the right edge to fit terminal width, but last commit
made -w the default wh...

github.com/landley/toybox - f8e44c1a8549e4b0f99c7c1eb874d6b9dc8f99cd authored about 9 years ago
Add ps -O (inserts extra args before last field), and make -w the default

when we haven't got a terminal width. Replace top CMDLINE with ARGS.

More ps infrastructure gene...

github.com/landley/toybox - 0801371d7450b09a0f80a88c024e8a0913adfd30 authored about 9 years ago
Fix comma_args error reporting.

None of the current callers' callbacks set errno, so this was resulting in
bogus errors like "No...

github.com/landley/toybox - 3d950dbd646f22e8934c4e6f2612986da106a0b2 authored about 9 years ago
Fix compiler warnings in traceroute.

If we're fixing warnings in pending...

github.com/landley/toybox - 58e4828e62ba3455f45d76211f697d6c4e1cbd36 authored about 9 years ago
Next lump of top work. Add -o DISPLAY_FIELDS -k FALLBACK_SORTS -s SORT_BY plus

the start of -h HEADER (mostly parses text, but doesn't display %ESCAPES yet).

Added UP, DOWN, a...

github.com/landley/toybox - 1e982508a44da210e5c674a956bad45070239790 authored about 9 years ago
Factor out insanitize() from seq.c to next_printf() in lib.

github.com/landley/toybox - cf0f037ac861a3f4fd877e79f3e53877a446f722 authored about 9 years ago
Replace slot[] constants with SLOT_blah, fix some that weren't displaying right.

Make fallback sort do string sort after numeric tie, retain absolute uptime
even though relative...

github.com/landley/toybox - 83c6d225795f94840b6acbba0955c65ef0340e7e authored about 9 years ago
I cleaned up the code in 'netstat.c' as belows.

- Adjust to 80 columns
- remove a useless function(strchr_nul), variable, type casting and
...

github.com/landley/toybox - 5c725e9f4878cd095b19f5a3e910f3e994785a40 authored about 9 years ago
Add a sed test from the posix mailing list.

github.com/landley/toybox - 2081ec658cdedc7bc6693c8353874dcaf48e9b1b authored about 9 years ago
Correct units of %MEM and %VSZ.

github.com/landley/toybox - be7e9e02c3e21bfaff85f7c41db0ae83d718b7a2 authored about 9 years ago
Add basic top support to ps.c, delete toys/pending/top.c.

While I'm there, pack the ps help text, break out TOP_COMMON (todo: update
config2help to collat...

github.com/landley/toybox - 941f9d6cc09adaa0155ee71ac34e6f9b773a90f1 authored about 9 years ago
First stab at making readfileat() realloc() in a loop to read long files.

github.com/landley/toybox - 59781de0c0512ed3c862bef5735d569b2adcd4a3 authored about 9 years ago
Another CFG_TOYBOX_DEBUG test.

github.com/landley/toybox - e9dce28087997b633dd39e8907bf67629d24b899 authored about 9 years ago
runcon needs to exec, not recurse.

github.com/landley/toybox - ee660c977371b3bfc184f3ca3a6b1c84dcaa1686 authored about 9 years ago
Implement pgrep -clv (and remove some accidentally checked in debug code).

Still need to do -n and -o.

github.com/landley/toybox - 559f36cf91e0872b3cac80c8f3ccc9a91f3bb2d6 authored about 9 years ago
Implement basic pkill plumbing, and fix FORCE_FLAGS on flag context switch.

github.com/landley/toybox - 36b7cb7c3b856b1b17db4b9df44161e40f09e237 authored about 9 years ago
Extend utf8 fontmetrics so ps can use them.

Also, I forgot to check in uuid_show() last time.

github.com/landley/toybox - ba86864699997b0da780e15fd6be33c8a556e927 authored about 9 years ago
Add -L label and UUID support to mkswap.

github.com/landley/toybox - 3b17f66c10af679f7ce3cd7b17af3b13664cde0c authored about 9 years ago
Update draw_str() and friends to do standard escaping for ^X <AB> U+ABCD.

github.com/landley/toybox - 544c1ec1614cd9a8dcedac3478701e4b97b0f8a0 authored about 9 years ago
Move create_uuid() to lib and xpoll() to lib/net.c.

github.com/landley/toybox - 5493916370c74944cc796cc91d058fb4ccabe140 authored about 9 years ago
Add swapon -d (discard)

github.com/landley/toybox - 7279b849f48e2ceb1d35e82e53b14343b708d776 authored about 9 years ago
Command line files without paths were attempting to use stdin as their dirfd,

(because ls uses nonstandard directory recursion which collates all the
command line arguments un...

github.com/landley/toybox - 7d6f210aa38afe2a9a370f1e0f23edf72a1735bb authored about 9 years ago
Locale setting is case sensitive.

github.com/landley/toybox - deb31c82944c1fa98ea2942691c53c9d841c1a66 authored about 9 years ago
More utf8 test files.

github.com/landley/toybox - a90fd0a191f4afbe55d9170c81e8ce2b196c26c4 authored about 9 years ago
Fix sort -f, add tests, make TEST_HOST pass new tests.

github.com/landley/toybox - 7ca907824d6f8a5017c3d914d0028a3d50ea619a authored about 9 years ago
Implement most of pgrep and pkill.

Needs testing and a few more options connected up.

github.com/landley/toybox - 7d4d0421b8e57bd6d9a9cb3dee04130b43bc53a0 authored about 9 years ago
Make "find -execdir toys echo {} +" batch correctly and show topdir results.

I dunno if find -execdir should show depth-first like it's doing, bit given
that ubuntu's treati...

github.com/landley/toybox - 192155553c01f39a774d169cb3b28dc5c7417c08 authored about 9 years ago
Expand defconfig/allyesconfig/allnoconfig help text to explain what they're for.

github.com/landley/toybox - 456b363175ae9a9bf2128d3e39a325552e1f0c43 authored about 9 years ago
Fix tail -f /does/not/exist.

Exit immediately if we don't actually have anything to -f --- it's -f's
big brother -F that retr...

github.com/landley/toybox - 5f58880c15ce3434c0eac8959ea1e07a91b0dc03 authored about 9 years ago
Fix hwclock -u.

You can't pass a NULL value to setenv(3). The "put things back how they were"
intent of this cod...

github.com/landley/toybox - c55d30d85f1332f5022132c119ecfa3f2f16f4c5 authored about 9 years ago
Fix perror_exit_raw.

Some things are worse when you remove the 'p'.

github.com/landley/toybox - e8943589a8404b96071eb1890d08d3c80941fae8 authored about 9 years ago
Make cursor left/right change sort type in iotop.

github.com/landley/toybox - 1b983744cde6819fe1d810e98cfac52585ceacaf authored about 9 years ago
Fix cat -.

Commit 4b4ab6a50998 broke loopfiles' handling of "-".
This broke the existing cat tests, so no n...

github.com/landley/toybox - 8784d8d968c72328db11a72d50c836fc1650fa9a authored about 9 years ago
The sense of -L was flipped.

github.com/landley/toybox - 0229ee428b00857b7978be1aae957839e8f00ca3 authored about 9 years ago
Make scan_key() specify timeout in miliseconds, split out terminal_probesize(),

add function key definitions and shift/ctrl/alt cursor keys.

github.com/landley/toybox - efb309d4cdb2f4c3926b0550d9dc1661c1e4a091 authored about 9 years ago
Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable format

checking, and fix up format checking complaints.

Added out(type, value) function to stat to avoi...

github.com/landley/toybox - d3a435e53c94ec25b4ae5fa2614f49ef8884e08a authored about 9 years ago
Some utf8/unicode stress test files.

github.com/landley/toybox - 8dfbf2efc89154fd74b34b5f4d8bf774dba63abf authored about 9 years ago
Work towards making "find . -execdir echo {} + -execdir ls {} +" work,

(not finished yet) plus some error message improvements.

github.com/landley/toybox - 80c6b26efd4eaf091c44c0c4b5dbaa778cfdfa8e authored about 9 years ago
Fix find --prune.

github.com/landley/toybox - 3d33dd80f8cb931e293d7f64c44bc357fec11120 authored about 9 years ago
Fix "find . -exec echo {}" segfault, and stop measuring environment space,

The segfault was spotted/fixed by Daniel K. Levy back in September, and again by
Isabella Paraki...

github.com/landley/toybox - aa784b09a9fbbbd571130051405edeaea7c9b510 authored about 9 years ago
First pass at iotop.

Lotsa TODOs: Currently exit it with ctrl-c, not q.
Doesn't show totals, PID instead ofTID, PR in...

github.com/landley/toybox - 7b746d26f5134fc3fe805443187177656b24036e authored about 9 years ago
Tweak error message.

github.com/landley/toybox - adf6f03bdd7bc19013463780d059b721bf90f4d5 authored about 9 years ago
Don't let mktemp -q /path/to/file delete arbitrary files, and don't have

"mktemp -u > /dev/full" leave file around.

github.com/landley/toybox - 4ff9295f462c4f753902e6e520f645cad305aec6 authored about 9 years ago
lsb/mktemp: Add -u flag

The -u flag creates a file, and unlinks it before exiting.
This is usually known as "unsafe mode...

github.com/landley/toybox - 46ddb5520731aaf578de9d620f894395fb9d58b6 authored about 9 years ago
First half of iotop. Add READ, WRITE, IO, DREAD, DWRITE, SWAP, DIO, and

corresponding percentile fields to ps. Move FLAG_ macro usage to ps-specific
code (top/iotop have...

github.com/landley/toybox - 08dc20ad276251f61a9a4036f9d17ee601a4b3a0 authored about 9 years ago
Add more keys to scan_key() and fix hang in scan_key_getsize().

github.com/landley/toybox - f82a848793fbba3b3416fe037947afe73785270b authored about 9 years ago
make "ls -m | cat" assume 80 columns.

github.com/landley/toybox - 3a70500a4b11623651d1ffd779592a521e5c738b authored about 9 years ago
I didn't add comma_args() to lib.c, I added it with the other comma functions.

(Oops. Missed a file checkin, build break, my bad.)

github.com/landley/toybox - 1b7c02a6bf83a5e2ed618b824caf33804bf8373d authored about 9 years ago
Add strafter() to lib.

github.com/landley/toybox - 4d3ad67ab37a25d0edfccdc34d29ec550e0802b6 authored about 9 years ago
Make pidof use comma_scan()

github.com/landley/toybox - 1bf844232802d2deec7a2e9bee355e4c26259101 authored about 9 years ago
Move comma_args() from ps.c to lib.

(Moved header a while ago, forgot to check in function move.)

github.com/landley/toybox - 21ede0889bc585828c7dbd7023f93b491ce07944 authored about 9 years ago
Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY,

and add test_scankey.

github.com/landley/toybox - 4b4ab6a50998219cd94139c5669ef9a624c8f58f authored about 9 years ago
Move get_line() header to pending.h because posix has FILE * versions.

github.com/landley/toybox - 6769f8eb580aa2ecac4009fcde4a113e0476de74 authored about 9 years ago
Factor out draw_str() and friends.

github.com/landley/toybox - e32e802240c5b3803b9769948dc7a18b3fc1630c authored about 9 years ago
First guess at cp xattr support, ala --preserve=context,xattr

github.com/landley/toybox - 432d2f1faf23f5ac5fba10facc06f86b55344b1f authored about 9 years ago
Convert cp from magic constants to TAGGED_ARRAY()

github.com/landley/toybox - d9d19c10e29eaf66caa5ffc0a92689a4c03fe241 authored about 9 years ago
Cleanup tail -f.

github.com/landley/toybox - 55a44676fa586b749718f7d24d6c579a02e2a398 authored about 9 years ago