https://sourceware.org/bugzilla/show_bug.cgi?id=33696

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

--- Comment #2 from Sam James <sam at gentoo dot org> ---
(In reply to Alan Modra from comment #1)
> (In reply to Guinevere Larsen from comment #0)
> > That's because in C23, strstr and similar functions will return const char *
> > if fed a const char *
> Presumably only with sufficiently recent headers.  For the sake of anyone
> looking at this bug report, what version of glibc is required?
> 

glibc trunk (so >=2.43 when it is released).

Introduced by:

commit cd748a63ab1a7ae846175c532a3daab341c62690
Author:     Joseph Myers <[email protected]>
AuthorDate: Thu Nov 20 19:30:27 2025 +0000
Commit:     Joseph Myers <[email protected]>
CommitDate: Thu Nov 20 19:31:04 2025 +0000

    Implement C23 const-preserving standard library macros
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to