Re: [PATCH] Fix more const warnings on Arch linux with the latest glibc.

Rene Kita <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Thu, Feb 26, 2026 at 11:17:21AM +0800, Kevin J. McCarthy wrote:
> See 19434821 for more details.
> 
> These are in the IMAP code, which was accidentally skipped in the
> previous testing.
> 
> imap_get_literal_count() is always passed a modifiable buf parameter,
> (which the callers are also modifying):.  Since the function is, in
> fact, sneakily modifying buf, change the signature to reflect reality.
> 
> Split off a different constc variable for the case inside
> imap_parse_path() that was calling strchr on a const char * "path"
> argument.
> ---

OK.

Successful build on Arch: https://builds.sr.ht/~rkta/job/1695147
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.