[PATCH] wget: add header Accept: */*

2024-03-11 Thread Natanael Copa
Some servers (like https://netfilter.org) returns failure if the Accept header is missing. Both GNU wget and curl adds this header, so make busybox do the same. fixes: https://bugs.busybox.net/show_bug.cgi?id=15982 function old new delta

grep: BUG with empty -f pattern file when -x and -F are used at the same time

2024-03-11 Thread Martin Wetterwald
Hello, Following commit https://git.busybox.net/busybox/commit/?id=c3295d233b6a7d924814eec9a5c5999a876daf9e that landed in the 1.32.0 in 2020 fixed a grep behavior issue when -x was specified together with an empty pattern file -f. The patch adds the regex .* to the patterns when -x is set and

Re: [PATCH v2] bloat-o-meter: line wrapped at 75 columns instead of 80

2024-03-11 Thread Kang-Che Sung
Jones Syue 薛懷宗 於 2024年3月11日 星期一寫道: > This patch replaces the 78 "-" prints with 75 "-". And replace the 80 > columns summary line with 77 columns. ("%s" is considered as two chars > and should be filled with whitespace " ", so 77 = 75 + 2) > > Consider this scenario: a patch contains the output

[PATCH v2] bloat-o-meter: line wrapped at 75 columns instead of 80

2024-03-11 Thread Jones Syue 薛懷宗
This patch replaces the 78 "-" prints with 75 "-". And replace the 80 columns summary line with 77 columns. ("%s" is considered as two chars and should be filled with whitespace " ", so 77 = 75 + 2) Consider this scenario: a patch contains the output of "bloat-o-meter" to clarify about the size

Re: [PATCH] bloat-o-meter: line wrapped at 75 columns instead of 80

2024-03-11 Thread Jones Syue 薛懷宗
> Consider this senario: a patch contains the output of "bloat-o-meter" to Ohh by bad, found a nit/typo by checkpatch.pl, will come out next v2 ;) WARNING: 'senario' may be misspelled - perhaps 'scenario'? #10: Consider this senario: a patch contains the output of "bloat-o-meter" to

[PATCH] bloat-o-meter: line wrapped at 75 columns instead of 80

2024-03-11 Thread Jones Syue 薛懷宗
This patch replaces the 78 "-" prints with 75 "-". And replace the 80 columns summary line with 77 columns. ("%s" is considered as two chars and should be filled with whitespace " ", so 77 = 75 + 2) Consider this senario: a patch contains the output of "bloat-o-meter" to clarify about the size