Author: julianfoad
Date: Mon Jan 22 17:43:02 2018
New Revision: 1821909

URL: http://svn.apache.org/viewvc?rev=1821909&view=rev
Log:
Shelving: fix creating a new shelf on Windows.

* subversion/libsvn_client/shelf.c
  (shelf_read_revprops): Use APR_STATUS_IS_ENOENT, not ==APR_ENOENT.

Modified:
    subversion/trunk/subversion/libsvn_client/shelf.c

Modified: subversion/trunk/subversion/libsvn_client/shelf.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/shelf.c?rev=1821909&r1=1821908&r2=1821909&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/shelf.c (original)
+++ subversion/trunk/subversion/libsvn_client/shelf.c Mon Jan 22 17:43:02 2018
@@ -201,7 +201,7 @@ shelf_read_revprops(svn_client_shelf_t *
   shelf->revprops = apr_hash_make(shelf->pool);
   err = svn_stream_open_readonly(&stream, log_abspath,
                                  scratch_pool, scratch_pool);
-  if (err && err->apr_err == APR_ENOENT)
+  if (err && APR_STATUS_IS_ENOENT(err->apr_err))
     {
       svn_error_clear(err);
       return SVN_NO_ERROR;


Reply via email to