apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: apr/include apr_errno.h
Date Wed, 24 Jan 2001 09:44:49 GMT
gstein      01/01/24 01:44:49

  Modified:    include  apr_errno.h
  Log:
  add a general-failure error code, for when a more specific code doesn't
  apply or isn't defined.
  
  Revision  Changes    Path
  1.52      +3 -2      apr/include/apr_errno.h
  
  Index: apr_errno.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_errno.h,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -u -r1.51 -r1.52
  --- apr_errno.h	2001/01/18 19:08:46	1.51
  +++ apr_errno.h	2001/01/24 09:44:49	1.52
  @@ -176,6 +176,7 @@
    * APR_ENOSHMAVAIL  There is no more shared memory available
    * APR_EDSOOPEN     APR was unable to open the dso object.  For more 
    *                  information call apr_dso_error().
  + * APR_EGENERAL     General failure (specific information not available)
    * </PRE>
    *
    * <PRE>
  @@ -229,7 +230,7 @@
   #define APR_ENOSOCKET      (APR_OS_START_ERROR + 11)
   #define APR_ENOTHREAD      (APR_OS_START_ERROR + 12)
   #define APR_ENOTHDKEY      (APR_OS_START_ERROR + 13)
  -/* empty slot: +14 */
  +#define APR_EGENERAL       (APR_OS_START_ERROR + 14)
   #define APR_ENOSHMAVAIL    (APR_OS_START_ERROR + 15)
   /* empty slot: +16 */
   /* empty slot: +17 */
  @@ -251,7 +252,7 @@
   #define APR_STATUS_IS_ENOSOCKET(s)      ((s) == APR_ENOSOCKET)
   #define APR_STATUS_IS_ENOTHREAD(s)      ((s) == APR_ENOTHREAD)
   #define APR_STATUS_IS_ENOTHDKEY(s)      ((s) == APR_ENOTHDKEY)
  -/* empty slot: +14 */
  +#define APR_STATUS_IS_EGENERAL(s)       ((s) == APR_EGENERAL)
   #define APR_STATUS_IS_ENOSHMAVAIL(s)    ((s) == APR_ENOSHMAVAIL)
   /* empty slot: +16 */
   /* empty slot: +17 */
  
  
  

Mime
View raw message