You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2014/02/26 11:52:35 UTC

svn commit: r1572000 - /subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c

Author: philip
Date: Wed Feb 26 10:52:35 2014
New Revision: 1572000

URL: http://svn.apache.org/r1572000
Log:
On fsfs-lock-many branch, fix a bug that was causing hashes to be
removed from the "/" digest one-by-one rather than as a set.

* subversion/libsvn_fs_fs/lock.c
  (unlock_body): Special handling for "/".

Modified:
    subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c

Modified: subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c?rev=1572000&r1=1571999&r2=1572000&view=diff
==============================================================================
--- subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c (original)
+++ subversion/branches/fsfs-lock-many/subversion/libsvn_fs_fs/lock.c Wed Feb 26 10:52:35 2014
@@ -1101,6 +1101,7 @@ unlock_body(void *baton, apr_pool_t *poo
                   apr_size_t len = info->component - info->path;
 
                   if (last_path
+                      && strcmp(last_path, "/")
                       && (strncmp(last_path, info->path, len)
                           || strlen(last_path) != len))
                     {