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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Does it silently ignore the x and open in non-exclusive mode, or does it give
an error?

Giving an error is fine, it just means noreplace can't be used on those
systems.

Silently ignoring the x and opening in non-exclusive mode is not OK, that would
lead programs to think they had exclusive access when they didn't.

Reply via email to