https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85778
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85778
--- Comment #4 from Scott Emmons ---
> glibc has stat annotated with nonnull(1, 2)
1. Can you provide a reference to this code? This is helpful so that other
people running into this (and it *will* happen, this ancient code no longer
runs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85778
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Version|unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85778
Scott E. changed:
What|Removed |Added
CC||sesail999 at gmail dot com
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85778
--- Comment #1 from Andrew Pinski ---
It depends on if glibc is adding the nonnull attribute to stat or is it GCC.
Also what does the C (and POSIX) standard says about a null pointer being
passed as the string to stat.