Re: Missing EOVERFLOW

2014-09-20 Thread Matti Karnaattu
Should you add EBADMSG and EPROTO too?

Re: Missing EOVERFLOW

2014-09-20 Thread Philip Guenther
On Sat, Sep 20, 2014 at 6:52 AM, Matti Karnaattu mkarnaa...@gmail.com wrote: Should you add EBADMSG and EPROTO too? IMO, it's a bug in POSIX that those weren't marked OB XSR. Note that adding errno defines requires a libc major bump.

Missing EOVERFLOW

2014-09-19 Thread Matti Karnaattu
Hello, intro(2) manual says, also http://pubs.opengroup.org/onlinepubs/9699919799/ that EOVERFLOW should be defined. -snip- #define _XOPEN_SOURCE 700 #include sys/mman.h #include errno.h int main() { errno = EACCES; errno = EAGAIN; errno = EBADF; errno =

Re: Missing EOVERFLOW

2014-09-19 Thread Todd C. Miller
EHOSTUNREACH, EOVERFLOW and ECANCELED are now part of POSIX so we should adjust sys/errno.h accordingly. - todd Index: /sys/sys/errno.h === RCS file: /home/cvs/openbsd/src/sys/sys/errno.h,v retrieving revision 1.22 diff -u -r1.22