Re: Request to increase 1024 char/line limit in read.c

Thomas Adam <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm.devel
Message-ID <20180305115726.4vhmouce3ncsepoi@laptop>
Hi,

On Mon, Mar 05, 2018 at 04:38:08AM +0100, Stefan Blachmann wrote:
> Hi fvwm-workers,
> 
> the 1024 char limit in the read line buffer in fvwm/read.c has become too small.
> This caused a breakage in my MissingSubmenuFunction menu generator
> after after addition of programs + update; the Popup did not display.
> 
> Could the buffer be extended to, say, 4096 chars?

We'd be chasing stack limits if we do this.

I'd much rather see that fgets() loop replaced with fparseln() instead, which
would also solve this problem indefinitely.


-- Thomas Adam
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.