Re: [PATCH v2] readlink: slight size optimization

2023-04-17 Thread Raffaello D. Di Napoli
On 4/17/23 15:15, Eric Blake wrote: Exploit the value of the flag for -n to reduce the size of readlink_main() (shown here with CONFIG_FEATURE_READLINK_FOLLOW off) on x86_64. function old new delta readlink_main

Re: [PATCH] applets/usage_pod.c: Prefer fputs

2021-02-18 Thread Raffaello D. Di Napoli
On 02/18/21 16:56, Ron Yorston wrote: Raffaello D. Di Napoli wrote: Somebody recently added fputs_stdout(), to save a few bytes on each call like this. Hey! I'm somebody! I thought I remembered so, but I didn’t feel like searching to confirm :) You should use that here as well

Re: [PATCH] applets/usage_pod.c: Prefer fputs

2021-02-18 Thread Raffaello D. Di Napoli
On 02/18/21 13:46, Gray Wolf wrote: - printf("%s", usage_array[i].aname); + fputs(usage_array[i].aname, stdout); Somebody recently added fputs_stdout(), to save a few bytes on each call like this. You should use that here as well. -- Raf

Re: [PATCH] pw_encrypt: Add option to enable bcrypt support

2020-05-07 Thread Raffaello D. Di Napoli
On 07/05/20 14:57, Scott Court wrote: Adds an option to the Login/Password Management Utilities menu to enable bcrypt support in passwd and chpasswd. Add support bcrypt to BusyBox chpasswd & passwd. --- busybox/include/libbb.h +++ busybox-bcrypt/include/libbb.h @@ -1633,8 +1633,8 @@ * (other

Re: wget code shrink (recent change)

2018-11-16 Thread Raffaello D. Di Napoli
On 16/11/2018 03:20, Xabier Oneca -- xOneca wrote: How is this actually possible to happen? I've been trying to reproduce it (on x86_64) without success... :/ https://git.busybox.net/busybox/commit/?id=fe836d84554c007916adc1c2e5f5daae2f878947 tls: code shrink function old new delta spaw

Re: [PATCH] .gitignore: add ctags output files

2018-09-25 Thread Raffaello D. Di Napoli
On 24/09/2018 15:00, Martin Kaiser wrote: From: Martin Kaiser Exuberant ctags creates an output file called "tags" by default or "TAGS" when it's run in emacs mode. Add those two files to .gitignore so they won't be removed by git clean -df. Signed-off-by: Martin Kaiser --- .gitignore | 6 +

[PATCH] sendmail: support AUTH PLAIN in addition to AUTH LOGIN

2018-06-26 Thread Raffaello D. Di Napoli
wrapper for the newer one. Signed-off-by: Raffaello D. Di Napoli --- mailutils/mail.c | 25 ++--- mailutils/mail.h | 3 +++ mailutils/sendmail.c | 38 ++ 3 files changed, 47 insertions(+), 19 deletions(-) diff --git a/mailutils/mail.c

[PATCH] sendmail: Fix parsing of addresses in angle brackets

2018-06-26 Thread Raffaello D. Di Napoli
Pointer e needs to be wound back in order to overwrite '>' with '\0'. Regression introduced in 20077c1429 . Signed-off-by: Raffaello D. Di Napoli --- mailutils/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailutils/sendmail.c b/mai