Re: [PATCH] Huge performance boost for recursion (cp, du, find, ls, rm, , mv)

2024-04-15 Thread Rolf Eike Beer
double-slashes: 'libbb//whatever.c'. > The last char of the parameter passed to 'find' is being erased if there > is no slash. This line is wrong: > if (last_char_is_fast(path, '/', pathlen) == NULL) pathlen--; If you replace "==" with "!="

Re: [PATCH] Huge performance boost for recursion (cp, du, find, ls, rm, , mv)

2024-04-10 Thread Rolf Eike Beer
em. Eike -- Besuchen Sie uns auf der Embedded World 2024 9. bis 11. April 2024 | Messe Nürnberg Sie finden uns in Halle 4, Stand 336 -- Rolf Eike Beer emlix GmbH Headquarters: Berliner Str. 12, 37073 Göttingen, Germany Phone +49 (0)551 30664-0, e-mail i...@emlix.com District Court of Göttingen, Regi

Re: [PATCH] memset 0 in obscure is optimized away by compiler

2022-10-05 Thread Rolf Eike Beer
quot;extension". > > 3) ... Use explicit_bzero() when available, or create such a function for configurations where it is not. Eike -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesells

Re: [PATCH] Remove stime() function calls

2020-02-03 Thread Rolf Eike Beer
uch work to fix that I believe, but still inefficient if multiple people now start testing their patch skills. Can we get a fixed version instead, please? Greetings, Eike -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 G

Re: [PATCH] examples/udhcp/simple.script: print the filename actually changed

2019-09-10 Thread Rolf Eike Beer
Am Dienstag, 13. August 2019, 17:41:56 CEST schrieb Rolf Eike Beer: > Signed-off-by: Rolf Eike Beer > --- > examples/udhcp/simple.script | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/examples/udhcp/simple.script b/examples/udhcp/simple.script

Re: Some issues in examples/udhcp/simple.script

2019-09-05 Thread Rolf Eike Beer
Am Donnerstag, 5. September 2019, 14:57:15 CEST schrieb Denys Vlasenko: > On Wed, Aug 14, 2019 at 9:50 AM Rolf Eike Beer wrote: > > Hi all, > > > > I have discovered some problems with examples/udhcp/simple.script. I know, > > it's an example, and a simplified

Some issues in examples/udhcp/simple.script

2019-08-14 Thread Rolf Eike Beer
get you anywhere. Greetings, Eike -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE

[PATCH] examples/udhcp/simple.script: print the filename actually changed

2019-08-13 Thread Rolf Eike Beer
Signed-off-by: Rolf Eike Beer --- examples/udhcp/simple.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/udhcp/simple.script b/examples/udhcp/simple.script index 53974e6d6..61cc3fe1f 100755 --- a/examples/udhcp/simple.script +++ b/examples/udhcp/simple.script

Re: passwd crashes since ce51140664d82300d25b096b4a41f01fdfd766b3

2019-06-27 Thread Rolf Eike Beer
Am Dienstag, 25. Juni 2019, 12:34:33 CEST schrieb Rolf Eike Beer: > Am Montag, 24. Juni 2019, 11:03:59 CEST schrieb Rolf Eike Beer: > > Hi, > > > > we have a project using uclibc-ng (tested both version 1.0.29 and 1.0.31) > > and busybox. Since commit ce51140664d82

Re: passwd crashes since ce51140664d82300d25b096b4a41f01fdfd766b3

2019-06-25 Thread Rolf Eike Beer
Am Montag, 24. Juni 2019, 11:03:59 CEST schrieb Rolf Eike Beer: > Hi, > > we have a project using uclibc-ng (tested both version 1.0.29 and 1.0.31) > and busybox. Since commit ce51140664d82300d25b096b4a41f01fdfd766b3 passwd > crashes (segfault) when doing this: > > e

passwd crashes since ce51140664d82300d25b096b4a41f01fdfd766b3

2019-06-24 Thread Rolf Eike Beer
crash and restores functionality, but of course the original bug would be there again. Greetings, Eike -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen

[PATCH] examples/udhcp/simple.script: fix resolv.conf update if it is a dangling symlink

2019-03-28 Thread Rolf Eike Beer
If /etc/resolv.conf is a symlink to a tmpfs and the actual file does not already exist, "readlink -f" will not detect it as symlink. Explicitely check for that condition before and touch the file, making the other code work as intended. Signed-off-by: Rolf Eike Beer --- exam