https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206927

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]    |[email protected]
             Status|New                         |In Progress
                 CC|                            |[email protected]

--- Comment #1 from Jilles Tjoelker <[email protected]> ---
The additional [EINVAL] condition is missing from the semget(2) man page; I
will add it.

Although POSIX leaves the detection order of errors undefined (XSH 2.3 Error
Numbers), detecting [EINVAL] before [EEXIST] is clearly inconvenient for
applications. The inconvenient order has been in place for years, but it is
easy to change.

You could request the Austin Group to make this unambiguous (e.g., restrict
part of the [EINVAL] error to not occur if
((semflg&IPC_CREAT)&&(segflg&IPC_EXCL)) is non-zero).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to