apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_errno.h
Date Thu, 28 Jun 2001 05:35:24 GMT
wrowe       01/06/27 22:35:24

  Modified:    include  apr_errno.h
  Log:
    Hmmm... quite a menu on win32 for EFTYPE-style errors.
    I'd expect OS2 offers something similar.
  
  Revision  Changes    Path
  1.72      +8 -1      apr/include/apr_errno.h
  
  Index: apr_errno.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_errno.h,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- apr_errno.h	2001/06/28 05:08:50	1.71
  +++ apr_errno.h	2001/06/28 05:35:23	1.72
  @@ -685,7 +685,14 @@
                   || (s) == APR_OS_START_SYSERR + WSAEHOSTUNREACH)
   #define APR_STATUS_IS_ENETUNREACH(s)    ((s) == APR_ENETUNREACH \
                   || (s) == APR_OS_START_SYSERR + WSAENETUNREACH)
  -#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE)
  +#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE \
  +                || (s) == APR_OS_START_SYSERR + ERROR_EXE_MACHINE_TYPE_MISMATCH \
  +                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_DLL \
  +                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_MODULETYPE \
  +                || (s) == APR_OS_START_SYSERR + ERROR_BAD_EXE_FORMAT \
  +                || (s) == APR_OS_START_SYSERR + ERROR_INVALID_EXE_SIGNATURE \
  +                || (s) == APR_OS_START_SYSERR + ERROR_FILE_CORRUPT \
  +                || (s) == APR_OS_START_SYSERR + ERROR_BAD_FORMAT)
   #define APR_STATUS_IS_EPIPE(s)          ((s) == APR_EPIPE \
                   || (s) == APR_OS_START_SYSERR + ERROR_BROKEN_PIPE)
   
  
  
  

Mime
View raw message