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

--- Comment #6 from Steinar H. Gunderson <steinar+gcc at gunderson dot no> ---
So basically GCC is worried that I might be calling allocate() with -1 bytes,
and gives a warning?

last_slash presumably has to be >= path, given that it comes out of strrchr().
But maybe GCC won't know that.

Reply via email to