You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/11/19 14:31:05 UTC

svn commit: r1411167 - in /subversion/trunk/subversion: libsvn_subr/named_atomic.c tests/cmdline/svnadmin_tests.py

Author: danielsh
Date: Mon Nov 19 13:31:04 2012
New Revision: 1411167

URL: http://svn.apache.org/viewvc?rev=1411167&view=rev
Log:
Avoid CamelCase.

* subversion/libsvn_subr/named_atomic.c
  (MUTEX_NAME_SUFFIX, SHM_NAME_SUFFIX): Change value.

* subversion/tests/cmdline/svnadmin_tests.py
  (check_hotcopy_fsfs): Track rename.

Modified:
    subversion/trunk/subversion/libsvn_subr/named_atomic.c
    subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py

Modified: subversion/trunk/subversion/libsvn_subr/named_atomic.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/named_atomic.c?rev=1411167&r1=1411166&r2=1411167&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/named_atomic.c (original)
+++ subversion/trunk/subversion/libsvn_subr/named_atomic.c Mon Nov 19 13:31:04 2012
@@ -80,12 +80,12 @@
 /* Particle that will be appended to the namespace name to form the
  * name of the mutex / lock file used for that namespace.
  */
-#define MUTEX_NAME_SUFFIX "Mutex"
+#define MUTEX_NAME_SUFFIX ".mutex"
 
 /* Particle that will be appended to the namespace name to form the
  * name of the shared memory file that backs that namespace.
  */
-#define SHM_NAME_SUFFIX "Shm"
+#define SHM_NAME_SUFFIX ".shm"
 
 /* Platform-dependent implementations of our basic atomic operations.
  * NA_SYNCHRONIZE(op) will ensure that the OP gets executed atomically.

Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1411167&r1=1411166&r2=1411167&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Mon Nov 19 13:31:04 2012
@@ -79,9 +79,9 @@ def check_hotcopy_fsfs(src, dst):
       # Compare all files in this directory
       for src_file in src_files:
         # Exclude temporary files
-        if src_file == 'rev-prop-atomicsShm':
+        if src_file == 'rev-prop-atomics.shm':
           continue
-        if src_file == 'rev-prop-atomicsMutex':
+        if src_file == 'rev-prop-atomics.mutex':
           continue
 
         src_path = os.path.join(src_dirpath, src_file)