cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/edit.c


From: Jim Hyslop
Subject: [Cvs-cvs] Changes to ccvs/src/edit.c
Date: Wed, 03 Aug 2005 21:04:35 -0400

Index: ccvs/src/edit.c
diff -u ccvs/src/edit.c:1.85 ccvs/src/edit.c:1.86
--- ccvs/src/edit.c:1.85        Fri Apr  8 18:17:01 2005
+++ ccvs/src/edit.c     Thu Aug  4 01:04:32 2005
@@ -32,6 +32,7 @@
 static int
 onoff_fileproc (void *callerdat, struct file_info *finfo)
 {
+    fileattr_get0 (finfo->file, "_watched");
     fileattr_set (finfo->file, "_watched", turning_on ? "" : NULL);
     return 0;
 }
@@ -43,7 +44,10 @@
                      const char *update_dir, List *entries)
 {
     if (setting_default)
+    {
+       fileattr_get0 (NULL, "_watched");
        fileattr_set (NULL, "_watched", turning_on ? "" : NULL);
+    }
     return err;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]