Re: [Toybox] sed

2019-11-11 Thread scsijon
On 11/11/19 12:13, Rob Landley wrote: On 11/10/19 6:56 PM, scsijon wrote: I know it's not exactly a toybox problem, but can someone please sort this out for me. sed ':a;N;$!ba;s|>\s*<|><|g' Could you please be a little more vague? I could have except I considered either you or one of those

Re: [Toybox] [landley/toybox] expr: fix memory management (#148)

2019-11-11 Thread Rob Landley
On 11/11/19 9:41 AM, enh-google wrote: > *@enh-google* commented on this pull request. > > > > In toys/pending/expr.c > : > >> > - if (TT.refree)

[Toybox] [PATCH] expr: fix memory management

2019-11-11 Thread Ethan Sommer
Andy Chu's patch, modified to fit the current source and use llist_traverse http://lists.landley.net/htdig.cgi/toybox-landley.net/2016-March/008113.html Signed-off-by: Ethan Sommer --- toys/pending/expr.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git

Re: [Toybox] Ls row segfault

2019-11-11 Thread enh via Toybox
i don't see a crash when i follow your repro steps. oh, an ASAN=1 toybox catches it: = ==113660==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61102a70 at pc 0x56168ee299b1 bp 0x72586180 sp 0x72586178 READ

[Toybox] Ls row segfault

2019-11-11 Thread Denys Nykula
With 81 character wide terminal, toy ls dislikes my etc dir, my home dir and most other dirs on my netbook, unless given -1 or -l. etc=`mktemp -d`; echo $etc; cd $etc touch ImageMagick-7 Muttrc dbus-1 drirc.d dropbear fontconfig git group \ group- lynx.cfg lynx.lss mailcap mime.types mk.conf