Re: [PATCH] Treat single space table entry names specially, i.e., reject them

Erik Auerswald <[email protected]>
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
Hi,

On Sat, Feb 12, 2022 at 09:06:07PM +0100, Erik Auerswald wrote:
> 
> some tables used with "genget()" use table entries with a single space
> character as entry name for special purposes, i.e., as empty lines or
> comment lines.  Thus an entry with name " " is not intended as a valid
> table entry, but "genget()" does not treat those entries differently from
> valid antries.  It should instead reject any attempt to get the entry to
> the name " ".

Thinking a bit more about this I'd say that genget() should not enforce
such a table key restriction.

> [...]
> The attached patch "inetutils-libtelnet-genget-no_space_command.patch"
> implements this.

Please ignore this patch.

Thanks,
Erik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.