apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: apr/include apr_errno.h
Date Tue, 22 May 2001 14:31:07 GMT
jfclere     01/05/22 07:31:04

  Modified:    include  apr_errno.h
  Log:
  Add APR_EFTYPE: /* Inappropriate file type or format */  EFTYPE in FreeBSD.
  Reviewed by:	William A. Rowe, Jr.
  
  Revision  Changes    Path
  1.65      +8 -0      apr/include/apr_errno.h
  
  Index: apr_errno.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_errno.h,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- apr_errno.h	2001/05/19 22:47:28	1.64
  +++ apr_errno.h	2001/05/22 14:30:54	1.65
  @@ -471,6 +471,12 @@
   #define APR_ENETUNREACH    (APR_OS_START_CANONERR + 22)
   #endif
   
  +#ifdef EFTYPE
  +#define APR_EFTYPE
  +#else
  +#define APR_EFTYPE        (APR_OS_START_CANONERR + 23)
  +#endif
  +
   
   #if defined(OS2)
   
  @@ -582,6 +588,7 @@
                   || (s) == APR_OS_START_SYSERR + SOCEHOSTUNREACH)
   #define APR_STATUS_IS_ENETUNREACH(s)    ((s) == APR_ENETUNREACH \
                   || (s) == APR_OS_START_SYSERR + SOCENETUNREACH)
  +#define APR_STATUS_IS_EFTYPE(s)         ((s) == APR_EFTYPE)
   
   /*
       Sorry, too tired to wrap this up for OS2... feel free to
  @@ -741,6 +748,7 @@
   #define APR_STATUS_IS_ETIMEDOUT(s)       ((s) == APR_ETIMEDOUT)    
   #define APR_STATUS_IS_EHOSTUNREACH(s)    ((s) == APR_EHOSTUNREACH)
   #define APR_STATUS_IS_ENETUNREACH(s)     ((s) == APR_ENETUNREACH)
  +#define APR_STATUS_IS_EFTYPE(s)          ((s) == APR_EFTYPE)
   
   #endif /* !def OS2 || WIN32 */
   
  
  
  

Mime
View raw message