rbb         99/10/21 08:16:11

  Modified:    src/lib/apr/include apr_errno.h
  Log:
  We no longer want to use 3000 for errno values not defined on the platform.
  I think 1000 should do.  This gives us 500 APR error codes, and 500 APR
  status codes.
  
  Revision  Changes    Path
  1.7       +52 -52    apache-2.0/src/lib/apr/include/apr_errno.h
  
  Index: apr_errno.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_errno.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apr_errno.h       1999/10/21 11:38:46     1.6
  +++ apr_errno.h       1999/10/21 15:16:10     1.7
  @@ -74,313 +74,313 @@
   #ifdef EACCES
   #define APR_EACCES EACCES
   #else
  -#define APR_EACCES (APR_OS_START_ERROR + 3000)
  +#define APR_EACCES (APR_OS_START_ERROR + 1000)
   #endif
   
   #ifdef EEXIST
   #define APR_EEXIST EEXIST
   #else
  -#define APR_EEXIST (APR_OS_START_ERROR + 3001)
  +#define APR_EEXIST (APR_OS_START_ERROR + 1001)
   #endif
   
   #ifdef EISDIR
   #define APR_EISDIR EISDIR
   #else
  -#define APR_EISDIR (APR_OS_START_ERROR + 3002)
  +#define APR_EISDIR (APR_OS_START_ERROR + 1002)
   #endif
   
   #ifdef ENAMETOOLONG
   #define APR_ENAMETOOLONG ENAMETOOLONG
   #else
  -#define APR_ENAMETOOLONG (APR_OS_START_ERROR + 3003)
  +#define APR_ENAMETOOLONG (APR_OS_START_ERROR + 1003)
   #endif
   
   #ifdef ENOENT
   #define APR_ENOENT ENOENT
   #else
  -#define APR_ENOENT (APR_OS_START_ERROR + 3004)
  +#define APR_ENOENT (APR_OS_START_ERROR + 1004)
   #endif
   
   #ifdef ENOTDIR
   #define APR_ENOTDIR ENOTDIR
   #else
  -#define APR_ENOTDIR (APR_OS_START_ERROR + 3005)
  +#define APR_ENOTDIR (APR_OS_START_ERROR + 1005)
   #endif
   
   #ifdef ENXIO
   #define APR_ENXIO ENXIO
   #else
  -#define APR_ENXIO (APR_OS_START_ERROR + 3006)
  +#define APR_ENXIO (APR_OS_START_ERROR + 1006)
   #endif
   
   #ifdef ENODEV
   #define APR_ENODEV ENODEV
   #else
  -#define APR_ENODEV (APR_OS_START_ERROR + 3007)
  +#define APR_ENODEV (APR_OS_START_ERROR + 1007)
   #endif
   
   #ifdef EROFS
   #define APR_EROFS EROFS
   #else
  -#define APR_EROFS (APR_OS_START_ERROR + 3008)
  +#define APR_EROFS (APR_OS_START_ERROR + 1008)
   #endif
   
   #ifdef ETXTBSY
   #define APR_ETXTBSY ETXTBSY
   #else
  -#define APR_ETXTBSY (APR_OS_START_ERROR + 3009)
  +#define APR_ETXTBSY (APR_OS_START_ERROR + 1009)
   #endif
   
   #ifdef EFAULT
   #define APR_EFAULT EFAULT
   #else
  -#define APR_EFAULT (APR_OS_START_ERROR + 3010)
  +#define APR_EFAULT (APR_OS_START_ERROR + 1010)
   #endif
   
   #ifdef ELOOP
   #define APR_ELOOP ELOOP
   #else
  -#define APR_ELOOP (APR_OS_START_ERROR + 3011)
  +#define APR_ELOOP (APR_OS_START_ERROR + 1011)
   #endif
   
   #ifdef ENOSPC
   #define APR_ENOSPC ENOSPC
   #else
  -#define APR_ENOSPC (APR_OS_START_ERROR + 3012)
  +#define APR_ENOSPC (APR_OS_START_ERROR + 1012)
   #endif
   
   #ifdef ENONOMEM
   #define APR_ENOMEM ENOMEM
   #else
  -#define APR_ENOMEM (APR_OS_START_ERROR + 3013)
  +#define APR_ENOMEM (APR_OS_START_ERROR + 1013)
   #endif
   
   #ifdef EMFILE
   #define APR_EMFILE EMFILE
   #else
  -#define APR_EMFILE (APR_OS_START_ERROR + 3014)
  +#define APR_EMFILE (APR_OS_START_ERROR + 1014)
   #endif
   
   #ifdef ENFILE
   #define APR_ENFILE ENFILE
   #else
  -#define APR_ENFILE (APR_OS_START_ERROR + 3015)
  +#define APR_ENFILE (APR_OS_START_ERROR + 1015)
   #endif
   
   #ifdef EBADF
   #define APR_EBADF EBADF
   #else
  -#define APR_EBADF (APR_OS_START_ERROR + 3016)
  +#define APR_EBADF (APR_OS_START_ERROR + 1016)
   #endif
   
   #ifdef EPERM
   #define APR_EPERM EPERM
   #else
  -#define APR_EPERM (APR_OS_START_ERROR + 3017)
  +#define APR_EPERM (APR_OS_START_ERROR + 1017)
   #endif
   
   #ifdef EIO
   #define APR_EIO EIO
   #else
  -#define APR_EIO (APR_OS_START_ERROR + 3018)
  +#define APR_EIO (APR_OS_START_ERROR + 1018)
   #endif
   
   #ifdef EINVAL
   #define APR_EINVAL EINVAL
   #else
  -#define APR_EINVAL (APR_OS_START_ERROR + 3019)
  +#define APR_EINVAL (APR_OS_START_ERROR + 1019)
   #endif
   
   #ifdef ENOEMPTY
   #define APR_ENOEMPTY ENOEMPTY
   #else
  -#define APR_ENOEMPTY (APR_OS_START_ERROR + 3020)
  +#define APR_ENOEMPTY (APR_OS_START_ERROR + 1020)
   #endif
   
   #ifdef EBUSY
   #define APR_EBUSY EBUSY
   #else
  -#define APR_EBUSY (APR_OS_START_ERROR + 3021)
  +#define APR_EBUSY (APR_OS_START_ERROR + 1021)
   #endif
   
   #ifdef ESPIPE
   #define APR_ESPIPE ESPIPE
   #else
  -#define APR_ESPIPE (APR_OS_START_ERROR + 3022)
  +#define APR_ESPIPE (APR_OS_START_ERROR + 1022)
   #endif
   
   #ifdef EIDRM
   #define APR_EIDRM EIDRM
   #else
  -#define APR_EIDRM (APR_OS_START_ERROR + 3023)
  +#define APR_EIDRM (APR_OS_START_ERROR + 1023)
   #endif
   
   #ifdef ERANGE
   #define APR_ERANGE ERANGE
   #else
  -#define APR_ERANGE (APR_OS_START_ERROR + 3024)
  +#define APR_ERANGE (APR_OS_START_ERROR + 1024)
   #endif
   
   #ifdef E2BIG
   #define APR_E2BIG E2BIG
   #else
  -#define APR_E2BIG (APR_OS_START_ERROR + 3025)
  +#define APR_E2BIG (APR_OS_START_ERROR + 1025)
   #endif
   
   #ifdef EAGAIN
   #define APR_EAGAIN EAGAIN
   #else
  -#define APR_EAGAIN (APR_OS_START_ERROR + 3026)
  +#define APR_EAGAIN (APR_OS_START_ERROR + 1026)
   #endif
   
   #ifdef EFBIG
   #define APR_EFBIG EFBIG
   #else
  -#define APR_EFBIG (APR_OS_START_ERROR + 3027)
  +#define APR_EFBIG (APR_OS_START_ERROR + 1027)
   #endif
   
   #ifdef EINTR
   #define APR_EINTR EINTR
   #else
  -#define APR_EINTR (APR_OS_START_ERROR + 3028)
  +#define APR_EINTR (APR_OS_START_ERROR + 1028)
   #endif
   
   #ifdef EDEADLK
   #define APR_EDEADLK EDEADLK
   #else
  -#define APR_EDEADLK (APR_OS_START_ERROR + 3029)
  +#define APR_EDEADLK (APR_OS_START_ERROR + 1029)
   #endif
   
   #ifdef ENOLCK
   #define APR_ENOLCK ENOLCK
   #else
  -#define APR_ENOLCK (APR_OS_START_ERROR + 3030)
  +#define APR_ENOLCK (APR_OS_START_ERROR + 1030)
   #endif
   
   #ifdef EWOULDBLOCK
   #define APR_EWOULDBLOCK EWOULDBLOCK
   #else
  -#define APR_EWOULDBLOCK (APR_OS_START_ERROR + 3031)
  +#define APR_EWOULDBLOCK (APR_OS_START_ERROR + 1031)
   #endif
   
   #ifdef EPROTONOSUPPORT
   #define APR_EPROTONOSUPPORT EPROTONOSUPPORT
   #else
  -#define APR_EPROTONOSUPPORT (APR_OS_START_ERROR + 3032)
  +#define APR_EPROTONOSUPPORT (APR_OS_START_ERROR + 1032)
   #endif
   
   #ifdef ENOTSOCK
   #define APR_ENOTSOCK ENOTSOCK
   #else
  -#define APR_ENOTSOCK (APR_OS_START_ERROR + 3033)
  +#define APR_ENOTSOCK (APR_OS_START_ERROR + 1033)
   #endif
   
   #ifdef ENOTCONN
   #define APR_ENOTCONN ENOTCONN
   #else
  -#define APR_ENOTCONN (APR_OS_START_ERROR + 3034)
  +#define APR_ENOTCONN (APR_OS_START_ERROR + 1034)
   #endif
   
   #ifdef EOPNOTSUPP
   #define APR_EOPNOTSUPP EOPNOTSUPP
   #else
  -#define APR_EOPNOTSUPP (APR_OS_START_ERROR + 3035)
  +#define APR_EOPNOTSUPP (APR_OS_START_ERROR + 1035)
   #endif
   
   #ifdef HOST_NOT_FOUND
   #define APR_EHOSTNOTFOUND HOST_NOT_FOUND
   #else
  -#define APR_EHOSTNOTFOUND (APR_OS_START_ERROR + 3036)
  +#define APR_EHOSTNOTFOUND (APR_OS_START_ERROR + 1036)
   #endif
   
   #ifdef NO_DATA
   #define APR_ENODATA NO_DATA
   #else
  -#define APR_ENODATA (APR_OS_START_ERROR + 3037)
  +#define APR_ENODATA (APR_OS_START_ERROR + 1037)
   #endif
   
   #ifdef NO_ADDRESS
   #define APR_ENOADDRESS NO_ADDRESS
   #else
  -#define APR_ENOADDRESS (APR_OS_START_ERROR + 3038)
  +#define APR_ENOADDRESS (APR_OS_START_ERROR + 1038)
   #endif
   
   #ifdef NO_RECOVERY
   #define APR_ENORECOVERY NO_RECOVERY
   #else
  -#define APR_ENORECOVERY (APR_OS_START_ERROR + 3039)
  +#define APR_ENORECOVERY (APR_OS_START_ERROR + 1039)
   #endif
   
   #ifdef EISCONN
   #define APR_EISCONN EISCONN
   #else
  -#define APR_EISCONN (APR_OS_START_ERROR + 3040)
  +#define APR_EISCONN (APR_OS_START_ERROR + 1040)
   #endif
   
   #ifdef ETIMEDOUT
   #define APR_ETIMEDOUT ETIMEDOUT
   #else
  -#define APR_ETIMEDOUT (APR_OS_START_ERROR + 3041)
  +#define APR_ETIMEDOUT (APR_OS_START_ERROR + 1041)
   #endif
   
   #ifdef ECONNREFUSED
   #define APR_ECONNREFUSED ECONNREFUSED
   #else
  -#define APR_ECONNREFUSED (APR_OS_START_ERROR + 3042)
  +#define APR_ECONNREFUSED (APR_OS_START_ERROR + 1042)
   #endif
   
   #ifdef ENETUNREACH
   #define APR_ENETUNREACH ENETUNREACH
   #else
  -#define APR_ENETUNREACH (APR_OS_START_ERROR + 3043)
  +#define APR_ENETUNREACH (APR_OS_START_ERROR + 1043)
   #endif
   
   #ifdef EADDRINUSE
   #define APR_EADDRINUSE EADDRINUSE
   #else
  -#define APR_EADDRINUSE (APR_OS_START_ERROR + 3044)
  +#define APR_EADDRINUSE (APR_OS_START_ERROR + 1044)
   #endif
   
   #ifdef EINPROGRESS
   #define APR_EINPROGRESS EINPROGRESS
   #else
  -#define APR_EINPROGRESS (APR_OS_START_ERROR + 3045)
  +#define APR_EINPROGRESS (APR_OS_START_ERROR + 1045)
   #endif
   
   #ifdef EALREADY
   #define APR_EALREADY EALREADY
   #else
  -#define APR_EALREADY (APR_OS_START_ERROR + 3046)
  +#define APR_EALREADY (APR_OS_START_ERROR + 1046)
   #endif
   
   #ifdef EAFNOSUPPORT
   #define APR_EAFNOSUPPORT EAFNOSUPPORT
   #else
  -#define APR_EAFNOSUPPORT (APR_OS_START_ERROR + 3047)
  +#define APR_EAFNOSUPPORT (APR_OS_START_ERROR + 1047)
   #endif
   
   #ifdef ENOPROTOOPT
   #define APR_ENOPROTOOPT ENOPROTOOPT
   #else
  -#define APR_ENOPROTOOPT (APR_OS_START_ERROR + 3048)
  +#define APR_ENOPROTOOPT (APR_OS_START_ERROR + 1048)
   #endif
   
   #ifdef ENOCHILD
   #define APR_ENOCHILD ENOCHILD
   #else
  -#define APR_ENOCHILD (APR_OS_START_ERROR + 3049)
  +#define APR_ENOCHILD (APR_OS_START_ERROR + 1049)
   #endif
   
   #ifdef ESRCH
   #define APR_ESRCH ESRCH
   #else
  -#define APR_ESRCH (APR_OS_START_ERROR + 3050)
  +#define APR_ESRCH (APR_OS_START_ERROR + 1050)
   #endif
   
   #ifdef ENOTSUP
   #define APR_ENOTSUP ENOTSUP
   #else
  -#define APR_ENOTSUP (APR_OS_START_ERROR + 3051)
  +#define APR_ENOTSUP (APR_OS_START_ERROR + 1051)
   #endif
   
   
  
  
  

Reply via email to