cvs: obey read only fs setting also for the val-tags file
authorSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Thu, 29 Jan 2009 18:21:03 +0000 (18:21 +0000)
committerSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Thu, 29 Jan 2009 18:21:03 +0000 (18:21 +0000)
contrib/cvs-1.12/src/tag.c

index 7f2fbba..cb13856 100644 (file)
@@ -1527,7 +1527,7 @@ static void add_to_val_tags (const char *name)
     datum mytag;
     datum value;
 
-    if (noexec) return;
+    if (noexec || readonlyfs) return;
 
     val_tags_lock (current_parsed_root->directory);