[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'errno'
From: |
Bruno Haible |
Subject: |
Re: new module 'errno' |
Date: |
Mon, 15 Sep 2008 13:39:02 +0200 |
User-agent: |
KMail/1.5.4 |
Yoann Vandoorselaere wrote:
> OpenBSD currently fails the errno unit-tests because it lacks support
> for ENOLINK, EPROTO, EMULTIHOP, EBADMSG, ENOTSUP.
>
> The configure script report:
> checking for complete errno.h... yes
Thanks for the info. So apparently they added EOVERFLOW and ECANCELED but
not the others. Since I don't know which of the macros will be the last to
be implemented in future versions of OpenBSD, I'm applying this:
2008-09-15 Bruno Haible <address@hidden>
* m4/errno_h.m4 (gl_HEADER_ERRNO_H_BODY): Test for all the macros that
are missing on OpenBSD 4.0 individually.
Reported by Yoann Vandoorselaere <address@hidden>.
*** m4/errno_h.m4.orig 2008-09-15 13:36:06.000000000 +0200
--- m4/errno_h.m4 2008-09-15 13:34:23.000000000 +0200
***************
*** 17,23 ****
AC_CACHE_CHECK([for complete errno.h], gl_cv_header_errno_h_complete, [
AC_EGREP_CPP(booboo,[
#include <errno.h>
! #if !defined EOVERFLOW || !defined ECANCELED
booboo
#endif
],
--- 17,47 ----
AC_CACHE_CHECK([for complete errno.h], gl_cv_header_errno_h_complete, [
AC_EGREP_CPP(booboo,[
#include <errno.h>
! #if !defined ENOMSG
! booboo
! #endif
! #if !defined EIDRM
! booboo
! #endif
! #if !defined ENOLINK
! booboo
! #endif
! #if !defined EPROTO
! booboo
! #endif
! #if !defined EMULTIHOP
! booboo
! #endif
! #if !defined EBADMSG
! booboo
! #endif
! #if !defined EOVERFLOW
! booboo
! #endif
! #if !defined ENOTSUP
! booboo
! #endif
! #if !defined ECANCELED
booboo
#endif
],
- new module 'errno', Bruno Haible, 2008/09/13
- Re: new module 'errno', Bruno Haible, 2008/09/13
- Re: new module 'errno', Bruno Haible, 2008/09/13
- new module 'perror', Bruno Haible, 2008/09/14
- Re: new module 'errno', Paolo Bonzini, 2008/09/14
- Re: new module 'errno', Eric Blake, 2008/09/14
Re: new module 'errno', Eric Blake, 2008/09/15