tch attached...
On Thu, Nov 7, 2024 at 10:28 AM enh wrote:
>
> ---
> lib/portability.h | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
>
0001-devmem.c-simplify-the-8-byte-long-support.patch
Description: Binary data
___
On Fri, Nov 8, 2024 at 6:02 AM Rob Landley wrote:
> On 11/7/24 11:47, enh wrote:
> > looking at
> > https://lore.kernel.org/lkml/20241107005831.15434-1-e...@google.com/T/#u
> i
> > note that there _is_ a difference between glibc readdir() and bionic/musl
> >
looking at
https://lore.kernel.org/lkml/20241107005831.15434-1-e...@google.com/T/#u i
note that there _is_ a difference between glibc readdir() and bionic/musl
readdir() --- glibc explicitly doesn't report any entry where d_ino is 0.
i couldn't find any documentation on this, so i don't know wheth
---
lib/portability.h | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
0001-Fix-devmem-build-with-clang.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Thu, Oct 31, 2024 at 7:35 PM Ray Gardner wrote:
>
> On Tue, Oct 29, 2024 at 6:39 PM enh wrote:
>
> > On Tue, Oct 29, 2024 at 3:15 PM Rob Landley wrote:
> >>
> >> On 10/23/24 21:01, Ray Gardner wrote:
>
> > i certainly had trouble when AOSP bust on
On Sun, Nov 3, 2024, 16:29 Rob Landley wrote:
> On 11/3/24 13:24, Brian Mayer wrote:
> > This time I sent it correctly to the list!
>
> And my first reply went just to you, because _I_ forgot to manually add
> the list to my reply window. Sigh...
>
> And cutting and pasting the previous reply int
On Wed, Oct 30, 2024 at 7:01 PM Rob Landley wrote:
> On 10/29/24 13:53, Brian Mayer wrote:
> > Hi.
> >
> > I'm trying to compile GNU make v3.79 using toybox and tcc, but it
> > fails on the configure part.
>
> That's odd, https://github.com/landley/toybox/issues/461 managed to
> build gmake once
On Tue, Oct 29, 2024 at 1:15 PM Rob Landley wrote:
> On 10/25/24 15:14, Karthik Ramasubramanian wrote:
> >> I already stripped the android files off and applied it locally
> >> yesterday, although that was mostly so I could go:
> >>
> >> git diff -b HEAD^1 HEAD
> >>
> > Sorry that I added and
On Tue, Oct 29, 2024 at 3:15 PM Rob Landley wrote:
> On 10/23/24 21:01, Ray Gardner wrote:
> >> Anyway, I'm not seeing that warning on android-ndk-r26d's llvm, do I
> >> need a newer one...? (I can apply just the parentheses removal but I
> >> didn't want to edit hunks out of your patch without a
yeah, with the later xlseek()s removed, the initial one makes sense. but i
told you that having both smelled like a bug, even if i wanted to remove
the wrong one :-)
On Fri, Oct 25, 2024 at 4:20 PM Karthik Ramasubramanian
wrote:
>
>
> On Thu, Oct 24, 2024 at 7:45 AM enh wrote:
>
On Wed, Oct 23, 2024 at 7:02 PM Karthikeyan Ramasubramanian <
krama...@google.com> wrote:
> Add --no-mmap flag to indicate seek and read/write access. This allows
> accessing devices that do not support mapping into memory - eg.
> /dev/nvram, /dev/msr0 etc.
>
> Also currently only WIDTH bytes are
the Android.bp file for toybox has
"-Wno-string-plus-int",
since this is quite common in toybox code.
On Wed, Oct 23, 2024 at 1:24 PM Rob Landley wrote:
> On 10/18/24 18:09, Ray Gardner wrote:
> > The attached patches (tested with git am) bring toybox awk up to date.
> > The first two
On Fri, Sep 27, 2024 at 4:37 PM Ray Gardner wrote:
> On Wed, Sep 25, 2024 at 3:58 PM enh wrote:
>
> > On Wed, Sep 25, 2024 at 2:19 PM Rob Landley wrote:
> >>
> >> On 9/25/24 10:48, enh wrote:
> >> > On Wed, Sep 25, 2024 at 11:14 AM Rob Landley wrote:
On Wed, Sep 25, 2024 at 2:19 PM Rob Landley wrote:
> On 9/25/24 10:48, enh wrote:
> > On Wed, Sep 25, 2024 at 11:14 AM Rob Landley wrote:
> > > GitHub users are now required to enable two-factor authentication
> as
> > > an additional security measure. Yo
On Wed, Sep 25, 2024 at 11:14 AM Rob Landley wrote:
> > GitHub users are now required to enable two-factor authentication as
> > an additional security measure. Your activity on GitHub includes you
> > in this requirement. You will need to enable two-factor authentication
> > on your account befo
is it intentional that the date tests are still non-executable? (they've
been running just fine for me on Android, where i ignore the execute bit...)
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Thu, Sep 12, 2024 at 11:35 PM Rob Landley wrote:
> On 9/10/24 17:16, enh via Toybox wrote:
> > cp -i was showing the _source_ rather than the destination, while -v
> > was only showing the source rather than the source _and_ the destination.
>
> In theory flags is sep
cp -i was showing the _source_ rather than the destination, while -v
was only showing the source rather than the source _and_ the destination.
---
toys/posix/cp.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
From 183b806786958be87e04ffa55a1d358b67183539 Mon Sep 17 00:00:0
On Mon, Sep 9, 2024 at 10:49 AM Rob Landley wrote:
>
> On 9/7/24 21:04, Ray Gardner wrote:
> > On Tue, Sep 3, 2024 at 11:43 PM Rob Landley wrote:
> >>
> >> Sorry, been sick in my Tokyo hotel bed since before the typhoon ended.
> >
> > Hope you're doing better by now.
>
> Better is a relative term
On Thu, Sep 5, 2024 at 10:38 AM Rob Landley wrote:
>
> On 9/4/24 13:53, enh wrote:
> > thanks (and hope you're feeling better soon)!
>
> Me too. It's persistent.
>
> > unfortunately this breaks the toybox tests when run with a toybox
> > userspace. sp
On Thu, Sep 5, 2024 at 10:17 AM Rob Landley wrote:
>
> FYI I hadn't sent this old reply because I instead just applied the patch
> as-is
> after _two_ timeout pokes, but if it _still_ doesn't quite work, for the
> record
> my initial objections were...
>
Also make xlstat() pull its weight a bit better.
---
toys/pending/diff.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
0001-diff.c-fix-warnings.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
http://li
"symbolic link"};
printf("File %s is a %s while file %s is a %s\n",
files[0], fidir[!i], files[1], fidir[i]);
TT.differ = 1;
} else {
behavior isn't the diffutils default?
On Wed, Sep 4, 2024 at 3:06 AM Rob Landley wrote:
>
> On 9/3/24 07:02,
ping again on this patch... it's wanted for kernel builds.
On Mon, Aug 26, 2024 at 5:30 PM enh wrote:
>
> ...but ignoring the bikeshed of "should we do something about all the
> _other_ readlink callers" --- ping on this specific patch :-)
>
> On Fri, Aug 23, 2024
Android's new "foreground_window" cgroup uses an underscore, unlike
all the previous cgroups which used hyphens. Sadly, it's too late
to fix the inconsistency now.
---
toys/posix/ps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
0001-ps.c-fix-typo.patch
Description: Binary data
On Mon, Aug 26, 2024 at 6:45 PM T.J. Mercier wrote:
>
> On Mon, Aug 26, 2024 at 3:01 PM enh wrote:
> >
> > On Mon, Aug 26, 2024 at 11:14 AM T.J. Mercier wrote:
> > >
> > > On Fri, Aug 23, 2024 at 3:52 PM enh wrote:
> > > >
> > > > T
On Mon, Aug 26, 2024 at 11:14 AM T.J. Mercier wrote:
>
> On Fri, Aug 23, 2024 at 3:52 PM enh wrote:
> >
> > This dependency keeps getting hairier and hairier (json!) and the
> > current system for policy scheduling is actually quite different from
> > the ori
...but ignoring the bikeshed of "should we do something about all the
_other_ readlink callers" --- ping on this specific patch :-)
On Fri, Aug 23, 2024 at 3:15 PM Rob Landley wrote:
>
>
>
> On 8/23/24 06:33, enh wrote:
> > On Fri, Aug 23, 2024 at 3:32 AM Rob Landley
This dependency keeps getting hairier and hairier (json!) and the
current system for policy scheduling is actually quite different from
the original anyway.
---
lib/portability.h | 14 --
toys/posix/ps.c | 33 -
2 files changed, 28 insertions(+), 19 de
On Fri, Aug 23, 2024 at 3:32 AM Rob Landley wrote:
>
> On 8/22/24 08:23, enh via Toybox wrote:
> > + int s = sizeof(toybuf)/2;
> > +
> > + TT.is_symlink = 1;
> > + for (i = 0; i < 2; i++) {
> > +TT.link[i].name = toybuf + i * s;
> > +TT.link
+ int s = sizeof(toybuf)/2;
+
+ TT.is_symlink = 1;
+ for (i = 0; i < 2; i++) {
+TT.link[i].name = toybuf + i * s;
+TT.link[i].len = readlink0(files[i], TT.link[i].name, s);
should probably use xreadlink() and free() instead? toybuf is big
enough to be safe for _one_ path on linux, but n
fyi in case it's news to you too, TIL that vhangup(2) exists, and
init/login/getty seem like the only processes that might actually want
to use it...
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
ewer magic numbers in toybox...
On Sun, Aug 4, 2024 at 8:55 AM Rob Landley wrote:
>
> On 8/2/24 15:50, enh via Toybox wrote:
> > Fixes #396 and theoretically the same bug but for records, though
> > in practice `toybox host www.google.com` isn't showing me record
Fixes #396 and theoretically the same bug but for records, though
in practice `toybox host www.google.com` isn't showing me records
like `host www.google.com` does.
---
toys/net/host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From 8faca0b8bac7c1c7b9eb3e6920488c4e97b57fe7 Mon
This was the file(1) crash mentioned in #503.
---
tests/file.test | 3 +++
toys/posix/file.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
From 950c6d3edbbde6cda00c908e7a4b33ecb3aeed48 Mon Sep 17 00:00:00 2001
From: Elliott Hughes
Date: Fri, 2 Aug 2024 16:20:00 -0400
Subject: [PATCH]
Also simplify/depessimize the code a bit. `./toybox getty 300 -` works
for me (including outputting /etc/issue) on Debian after this.
Fixes #508.
---
toys/pending/getty.c | 43 +--
1 file changed, 21 insertions(+), 22 deletions(-)
From 11e9fd923b43e1c7224b2
On Thu, Aug 1, 2024 at 10:08 PM Rob Landley wrote:
>
> On 8/1/24 10:24, enh wrote:
> >> > i'm not sure what you're talking about? this isn't a hash-related test?
> ...
> >> The tar "ownership" test.
> >>
> >> FAIL: tar own
Yet again, I am victim of my own bad habit of only testing on my Debian
desktop... It turns out that [current] Debian od uses a single space
between fields, macOS od uses a tab between fields, and toybox od uses 4
spaces between fields. (Given that POSIX just says "one or more
characters", I assum
Although O_SYNC is what you want 99% of the time, there is also a use
for not supplying the flag. See drivers/char/mem.c's uncached_access().
The big question here is probably the bikeshed issue of whether to name
the option after what it does (disable the O_SYNC flag) or _why_ you're
doing that.
On Thu, Aug 1, 2024 at 1:06 AM Rob Landley wrote:
>
> On 7/29/24 16:27, enh wrote:
> > On Sat, Jul 27, 2024 at 3:51 PM Rob Landley wrote:
> >> On 7/23/24 14:55, enh via Toybox wrote:
> >> > Fixes https://github.com/landley/toybox/issues/512.
> >>
> &
oh, and the unconcluded thought in the commit message is "...but it
seems unreasonable to add a test that requires > 2GiB of disk space,
so i haven't included a new test in this patch".
On Wed, Jul 31, 2024 at 4:09 PM enh wrote:
>
> this is actually a regression in Androi
parate cosmetic issue i noticed while testing:
```
/tmp/x$ ~/toybox-tar/toybox tar xvf ~/toybox-tar/x/x.tar
tar: tar: had errors
two
two-and-a-half
/tmp/x$ ls -l
total 4657156
-rw-r- 1 enh primarygroup 2147483648 Jul 31 15:44 two
-rw-r- 1 enh primarygroup 2621441024 Jul 31 15:45 two-and-a-ha
We want to check whether the next call we make will try to send more
than 1<<30 bytes, not whether the total number of bytes to transfer is
more than that.
Interestingly, the read() fallback implementation already has the right
check, presumably because files larger than libbuf are commonplace,
wh
ping?
On Mon, Jul 29, 2024 at 8:48 AM enh wrote:
>
> ping?
>
> On Fri, Jul 26, 2024 at 7:52 PM Rob Landley wrote:
> >
> > On 7/26/24 07:13, enh via Toybox wrote:
> > >> Don't know Rob cares about this, but ?: is not ISO C. It's a GNU
> > &g
1554 +
+++ actual 2024-07-29 21:26:48.668171554 +
@@ -1,2 +1,2 @@
-drwxr-xr-x
--rwxr-xr-x
+drwxrwxrwx
+-rwxrwxrwx
On Sat, Jul 27, 2024 at 3:51 PM Rob Landley wrote:
>
> On 7/23/24 14:55, enh via Toybox wrote:
> > Fixes https://github.com/landley/toybox/issues/512.
>
> Ap
ping?
On Fri, Jul 26, 2024 at 7:52 PM Rob Landley wrote:
>
> On 7/26/24 07:13, enh via Toybox wrote:
> >> Don't know Rob cares about this, but ?: is not ISO C. It's a GNU
> >> extension.
>
> Specifically https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Condi
with 80 existing uses of https://en.wikipedia.org/wiki/Elvis_operator
in toybox, i'm pretty sure rob knows this already :-)
On Thu, Jul 25, 2024 at 6:01 PM Ivo van Poorten wrote:
>
> On Thu, 25 Jul 2024 14:17:51 -0400 enh via Toybox
> wrote:
> > +fd = xopen(TT.f ?:
-f lets people use /dev/port for x86 i/o ports (rather than needing a
separate x86-only command), or /dev/nvram, or /dev/cpu/*/msr, or
/sys/bus/pci/devices/*:*:*.* ... you get the idea.
It also means we can write some tests. (Though of course, the tests
don't tell us whether this actually works wi
Fixes https://github.com/landley/toybox/issues/512.
---
tests/tar.test | 1 +
1 file changed, 1 insertion(+)
From 77d366f65905d527a6d49c75284a3a12e9864980 Mon Sep 17 00:00:00 2001
From: Elliott Hughes
Date: Tue, 23 Jul 2024 15:52:51 -0400
Subject: [PATCH] tar.test: don't test non-`-p` behavior as
(see debugging on http://github.com/landley/toybox/issues/512.)
On Thu, Jul 18, 2024 at 5:53 PM Rob Landley wrote:
>
> On 7/17/24 07:56, enh wrote:
> >> > FAIL: tar honor umask
> >> > echo -ne '' | umask 0022 && rm -rf dir && mkdir dir
On Wed, Jul 17, 2024 at 3:07 AM Rob Landley wrote:
>
> On 7/15/24 12:11, enh via Toybox wrote:
> > tried to sync this morning, but i'm getting a new tar test failure:
>
> Saw this yesterday but didn't have the email laptop with me. (I need to move
> that over.
On Mon, Jul 15, 2024 at 7:03 PM Ray Gardner wrote:
>
> On Mon, Jul 15, 2024 at 11:12 AM enh via Toybox
> wrote:
> > [snip]
> > also (since possibly WAI, and not a blocker because we ignore toybox
> > failures in tests if we're not using the toybox implementation)
tried to sync this morning, but i'm getting a new tar test failure:
FAIL: tar honor umask
echo -ne '' | umask 0022 && rm -rf dir && mkdir dir && tar xf
$FILES/tar/dir.tar && stat -c%A dir dir/file
--- expected 2024-07-15 16:20:47.217287424 +
+++ actual 2024-07-15 16:20:47.257287423 +
@@ -1
On Tue, Jul 9, 2024 at 3:06 PM Rob Landley wrote:
>
> On 7/9/24 12:35, enh wrote:
> > On Tue, Jul 9, 2024 at 10:02 AM enh wrote:
> >> On Tue, Jul 9, 2024 at 8:47 AM Rob Landley wrote:
> >>
> >> i'll forward this to the llvm asan folks anyway, in par
On Tue, Jul 9, 2024 at 2:49 PM Rob Landley wrote:
>
> On 7/9/24 09:02, enh wrote:
> > On Tue, Jul 9, 2024 at 8:47 AM Rob Landley wrote:
> >> Any suggestions?
> >
> > none you're going to like, but...
>
> I don't have to like it, I just have to mak
On Tue, Jul 9, 2024 at 10:02 AM enh wrote:
>
> On Tue, Jul 9, 2024 at 8:47 AM Rob Landley wrote:
> >
> > On 6/12/24 16:08, Rob Landley wrote:
> > > The new debian toolchain also broke gcc/glibc ASAN, complaining (at
> > > runtime)
> > > "ASan r
On Tue, Jul 9, 2024 at 8:47 AM Rob Landley wrote:
>
> On 6/12/24 16:08, Rob Landley wrote:
> > The new debian toolchain also broke gcc/glibc ASAN, complaining (at
> > runtime)
> > "ASan runtime does not come first in initial library list; you should
> > either link runtime to your application or
On Wed, Jun 12, 2024 at 4:57 PM Rob Landley wrote:
>
> On 6/11/24 16:56, Ray Gardner wrote:
> > Elliot, thanks for the positive feedback on the docs, but I really
> > wish you and Rob would try the program. I waited a while to see what
> > Rob would have to say. He doesn't seem the sort to be at a
On Tue, Jun 11, 2024 at 4:53 AM Rob Landley wrote:
>
> On 6/7/24 03:41, Rob Landley wrote:
> > On 6/5/24 00:46, Jarno Mäkipää wrote:
> >> You cannot test against other vi clones with -c after this patch. But
> >> you could have test against vim with -s {script} implementation. I
> >> used vim as r
On Fri, May 31, 2024, 11:08 Rob Landley wrote:
> On 5/20/24 23:43, Yi-Yo Chiang via Toybox wrote:
> > Don't flush the tty device input queue when setting device attribute.
> >
> > Rationale:
> > * microcom: The tty device might already have a _good enough_ termios
> > to read data from. Flu
On Fri, May 31, 2024 at 12:30 PM Rob Landley wrote:
>
> On 5/30/24 16:12, enh wrote:
> >> > hmm... looking at Apple's online FreeBSD code, it looks like they have
> >> > very different (presumably older) FreeBSD code
> >> > [https://opensource.ap
On Wed, May 29, 2024 at 5:50 AM Rob Landley wrote:
>
> On 5/22/24 09:30, enh wrote:
> > On Tue, May 14, 2024 at 2:58 PM Rob Landley wrote:
> >> It looks like macos towlower() refuses to return expanding unicode
> >> characters.
> >> Possibly to avoid
want
the underlying type :-)
On Thu, May 30, 2024 at 3:41 AM Rob Landley wrote:
>
>
>
> On 5/29/24 14:20, enh wrote:
> > seems to have broken the macOS build?
> > ```
> > lib/lib.c:953:10: error: conflicting types for 'string_to_mode'
> > unsigned string_t
New (https://austingroupbugs.net/view.php?id=339) names for the
existing _NPROCESSORS_CONF and _NPROCESSORS_ONLN.
---
toys/posix/getconf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
0001-getconf-add-NPROCESSORS_CONF-and-NPROCESSORS_ONLN.patch
Description: Binary data
___
[note: this isn't my patch; it was
https://android-review.googlesource.com/c/platform/external/toybox/+/3106282,
and i'm just forwarding it. the attachment is the original patch with
the original author's details, and i've cc:ed them. lgtm to me,
though, and matches the next function in the same fi
^
```
On Wed, May 29, 2024 at 12:29 PM Rob Landley wrote:
>
> On 5/28/24 08:00, enh via Toybox wrote:
> > apparently chmod allows something like
> >
> > chmod u+rwX-s,g+rX-ws,o+rX-wt
> >
> > as a (far less readable!) synonym for
> >
> > chmod
apparently chmod allows something like
chmod u+rwX-s,g+rX-ws,o+rX-wt
as a (far less readable!) synonym for
chmod u+rwX,u-s,g+rX,g-ws,o+rX,o-wt
i'm told that toybox silently accepts the former too, but does not
interpret it as if it means the latter?
_
On Tue, May 14, 2024 at 2:58 PM Rob Landley wrote:
>
>
>
> On 5/14/24 12:12, enh wrote:
> > On Tue, May 14, 2024 at 1:04 PM Rob Landley wrote:
> >>
> >> On 5/14/24 07:10, enh wrote:
> >> > macOS tests seem to be broken since this commit?
> &g
interesting docs, thanks!
i see you're already running the one-true-awk test suite, which was
the only suggestion i would have had, and you're running it against
"all the awks", which is even better than what i had in mind :-)
On Tue, May 14, 2024 at 10:37 PM Ray Gardner wrote:
>
> On Fri, May 1
On Wed, May 22, 2024 at 2:30 AM Rob Landley wrote:
>
> On 5/20/24 07:06, enh via Toybox wrote:
> > "Collate" means "sort", but -O is like -o other than buffering.
>
> It means "group". (The dictionary says "gather or arrange in the proper
&
On Mon, May 20, 2024 at 10:43 AM Yi-Yo Chiang wrote:
>
> Found this out today when comparing captured logs. Every time I connect to a
> pty the first few hundreds of bytes seem to always be missing.
> I then traced to this line
> https://github.com/landley/toybox/blob/master/toys/net/microcom.c#
On Sun, May 19, 2024 at 10:56 PM Rob Landley wrote:
>
> On 5/18/24 21:53, Yi-Yo Chiang wrote:
> > What I wanted to address with this patch are:
> >
> > 1. Fix this line of
> > xputs()
> > https://github.com/landley/toybox/blob/master/toys/net/microcom.c#L113
> > The prompt text is not flushed imm
"Collate" means "sort", but -O is like -o other than buffering.
---
toys/net/netcat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
0001-netcat-clarify-documentation.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.ne
On Sat, May 11, 2024 at 3:12 AM Yi-Yo Chiang via Toybox
wrote:
>
>
>
> On Sat, May 11, 2024 at 1:30 AM Rob Landley wrote:
>>
>> What's your use case triggering this patch? Because without that, I go off on
>> various design tangents, as seen below:
>
>
> I just wanted some tool to communicate wit
On Tue, May 14, 2024 at 1:04 PM Rob Landley wrote:
>
> On 5/14/24 07:10, enh wrote:
> > macOS tests seem to be broken since this commit?
> >
> > FAIL: find strlower edge case
> > echo -ne '' | touch aⱥ; find . -iname aȺ
> > --
seems to be working again now...
On Mon, May 13, 2024 at 11:55 PM Rob Landley wrote:
>
> That dreamhost server migration they did? (The recent "only 2 years old"
> version
> thread?) Does not seem to have correctly updated the DNS record. Of the domain
> they manage for me.
>
> Dreamhost continu
macOS tests seem to be broken since this commit?
FAIL: find strlower edge case
echo -ne '' | touch aⱥ; find . -iname aȺ
--- expected 2024-05-10 17:32:56.0 +
+++ actual 2024-05-10 17:32:56.0 +
@@ -1 +0,0 @@
-./aⱥ
On Wed, May 8, 2024 at 9:
---
toys/posix/find.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
0001-find-use-S_ISREG-rather-than-inlining-it.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landl
On Thu, May 2, 2024 at 6:17 PM Rob Landley wrote:
>
> On 5/2/24 13:14, enh via Toybox wrote:
> > another googler wanted a host unshare(1) for some testing... i added
> > that, and they complained that although the docs say
> >
> > -r Become root (map curren
another googler wanted a host unshare(1) for some testing... i added
that, and they complained that although the docs say
-r Become root (map current euid/egid to 0/0, implies -U) (--map-root-user)
it seems like -r _doesn't_ actually imply -U in practice (and they
seemed to have strace output
(to be fair, i was shocked the first time i had to deal with an
Android device where these weren't both the same...)
On Thu, May 2, 2024 at 9:18 AM enh wrote:
>
> /facepalm
>
> maybe move your hand-written version into portability just for musl,
> and everyone with a wo
/facepalm
maybe move your hand-written version into portability just for musl,
and everyone with a working libc just uses sysconf()?
On Tue, Apr 30, 2024 at 8:26 PM Rob Landley wrote:
>
> On 4/29/24 16:56, enh via Toybox wrote:
> > isn't nproc(1) just a call to sysco
isn't nproc(1) just a call to sysconf(3) with either
_SC_NPROCESSORS_ONLN for regular behavior, or _SC_NPROCESSORS_CONF for
--all?
that works fine for macOS too...
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toy
but this isn't what anyone else's readelf does...
so now anyone scripting has _two_ problems. (or a bug, if they've only
tested against toybox.)
honestly, if you're scripting, you should switch to llvm-readelf and
its less-machine-unreadable alternative output format instead.
On Thu, Apr 25, 202
On Mon, Apr 22, 2024 at 2:23 PM Oliver Webb wrote:
>
> > On Sat, Apr 20, 2024 at 7:38 PM Oliver Webb via Toybox
> > toybox@lists.landley.net wrote:
>
> > > xxd also runs on average about 5 times slower than vim xxd, this is
> > > because of read reading 16 bytes at a time, also not hard to fix, bu
---
toys/other/xxd.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
0001-xxd-buffer-input-via-stdio.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
On Sat, Apr 20, 2024 at 7:38 PM Oliver Webb via Toybox
wrote:
>
> Looking at xxd, I noticed that the -b[inary] flag wasn't there,
> Having some facility to print binary is nice, but since printf
> doesn't have anything in built for it implementing it isn't hard,
> but it looks _ugly_. Which is why
i'd been deliberately _not_ sending you
https://www.phoronix.com/news/GNU-Coreutils-9.5-Released for fear of
winding you up :-)
On Sat, Apr 13, 2024 at 7:34 AM Rob Landley wrote:
>
> On 4/12/24 13:24, enh via Toybox wrote:
> > ~/aosp-main-with-phones$ find external/ -na
~/aosp-main-with-phones$ find external/ -name NOTICE -type l -maxdepth 2
find: warning: you have specified the global option -maxdepth after
the argument -name, but global options are not positional, i.e.,
-maxdepth affects tests specified before it as well as those specified
after it. Please spec
, and now I'm at texas linuxfest doing sleep deprived talk
> prep
> for tomorrow...)
>
> On 4/8/24 15:28, enh via Toybox wrote:
> > A (presumably overloaded) CI server saw the `exit 0` test time out.
> > Given that several of these tests should just fail immediately,
>
A (presumably overloaded) CI server saw the `exit 0` test time out.
Given that several of these tests should just fail immediately,
having a huge timeout isn't even a bad thing --- if we had a bug
that caused us to report the correct status, but not until the
timeout had _also_ expired, this would
looks like the github CI has been red for ubuntu and macOS since april 5th?
this revert fixes the current failing test:
[master 8368f8f9] Revert "Enforce min/max for % input type (time in
seconds w/millisecond granularity)."
but that just gets me a different failing test, so it's obviously a
bit
On Sun, Apr 7, 2024 at 7:43 AM Oliver Webb via Toybox
wrote:
>
> On Sunday, April 7th, 2024 at 03:54, Rob Landley wrote:
>
> > As for moving it again someday, unnecessarily moving files is churn that
> > makes
> > the history harder to see, and lib/*.c has never been a strict division
> > (more
hadn't seen this one before...
cp: warning: behavior of -n is non-portable and may change in future;
use --update=none instead
(consider me skeptical that a system without -n is going to have
--update=none...)
___
Toybox mailing list
Toybox@lists.landle
On Fri, Mar 29, 2024 at 3:50 PM Oliver Webb wrote:
>
> > > ah, crap, that's another thing to put on the riscv64 to-do list...
> > > (thanks for bringing that to light!)
> >
> > so, TIL that upstream already added a risc-v bcj implementation...
>
> I always thought that the xz decompresser we use i
On Wed, Feb 28, 2024 at 9:13 AM enh wrote:
>
> On Tue, Feb 27, 2024 at 8:34 PM Rob Landley wrote:
> >
> > On 2/27/24 21:27, Oliver Webb wrote:
> > > 2 are help text, do_xzcat was due to replacing the case statement for
> > > error handling with a array
&g
Since the point here is to get a notification for every event, and
there's one line per event, line buffering is the right choice.
---
toys/other/inotifyd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
0001-inotifyd-enable-line-buffering.patch
Description: Binary data
__
On Wed, Mar 27, 2024 at 6:22 AM Rob Landley wrote:
>
> On 3/25/24 10:42, enh wrote:
> > On Sun, Mar 24, 2024 at 1:40 AM Rob Landley wrote:
> >>
> >> On 3/22/24 15:02, enh wrote:
> >> >> > CANONICALIZE_SPACE_IF_RUNNING_HOST_VERSION=1? so we trus
On Wed, Mar 27, 2024 at 6:22 AM Rob Landley wrote:
>
> Yesterday I did NOT spend all my energy reading email, and instead got
> https://landley.net/bin/toolchains updated with a musl 1.2.5 and or1k and
> riscv
> in the list, and that seems to have fixed the sh2eb build break as well
> (although I
On Wed, Mar 27, 2024 at 6:47 AM Rob Landley wrote:
>
> On 3/25/24 20:24, enh wrote:
> > But "dpkg-query -S $(which $NAME)" is pretty easy to do the mapping
> > yourself on
> > debian...
> >
> >
> > (yeah, though i suspect anyone
1 - 100 of 2747 matches
Mail list logo