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 Thu, 10 May 2001 17:44:33 GMT
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 <rassilon@lyra.org>
  
  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)
  
  
  

Mime
View raw message