[Bug middle-end/94169] warn for modifying getenv() result

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 20:47:48 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94169

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
In terms of the history here, is it the case that all of these functions really
ought to return a "const char *" to the caller, but were already standardized
as returning plain "char *"?


More information about the Gcc-bugs mailing list