gstein      01/05/10 10:44:32

  Modified:    include  apr_errno.h
  Log:
  apr_dir_read() returns APR_OS_START_SYSERR + ERROR_NO_MORE_FILES because
  of a failed FindNextFileW call on Windows 2000. So we need to add it the
  APR_STATUS_IS_ENOENT macro.
  
  Submitted by: Bill Tutt <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.61      +2 -1      apr/include/apr_errno.h
  
  Index: apr_errno.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_errno.h,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -u -r1.60 -r1.61
  --- apr_errno.h       2001/05/09 15:33:17     1.60
  +++ apr_errno.h       2001/05/10 17:44:28     1.61
  @@ -636,7 +636,8 @@
   #define APR_STATUS_IS_ENOENT(s)         ((s) == APR_ENOENT \
                   || (s) == APR_OS_START_SYSERR + ERROR_FILE_NOT_FOUND \
                   || (s) == APR_OS_START_SYSERR + ERROR_PATH_NOT_FOUND \
  -                || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED)
  +                || (s) == APR_OS_START_SYSERR + ERROR_OPEN_FAILED \
  +                || (s) == APR_OS_START_SYSERR + ERROR_NO_MORE_FILES)
   #define APR_STATUS_IS_ENOTDIR(s)        ((s) == APR_ENOTDIR)
   #define APR_STATUS_IS_ENOSPC(s)         ((s) == APR_ENOSPC \
                   || (s) == APR_OS_START_SYSERR + ERROR_DISK_FULL)
  
  
  

Reply via email to