On 2023-08-29 17:21, Ingo Schwarze wrote:
Hi Neel,
Neel Chauhan wrote on Tue, Aug 29, 2023 at 02:48:54PM -0700:
I have noticed a bug. When running "sysctl ." or "sysctl kern."
without
my other patch, I get an extra space between "name" and "in":
sysctl: top level name in . is invalid
Technically, that message is correct. The name being complained about
is a zero length string, and of course there are space characters
marking a word boundary before and after it, resulting in two adjacent
space characters around a zero-length word. But i see how some users
might find that confusing.
If people want that improved, see below for a patch that actually
improves the diagnostic message, resulting in:
In that case, I'll just let it go.
-Neel