[easytag] Disable preservation of mtime by default



commit 21f775122bd0fae34d925886a8752e9ffa69563c
Author: David King <amigadave amigadave com>
Date:   Sat Sep 28 16:19:37 2013 +0100

    Disable preservation of mtime by default
    
    As mentioned in bug 708962, EasyTAG preserves the modication time of
    files when writing metadata, which causes any application that monitors
    the mtime for changes to not notice that the file has changed. Change
    the default to update the mtime of the file and the parent directory.

 src/setting.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/setting.c b/src/setting.c
index 1eb6301..b0f3868 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -406,8 +406,8 @@ void Init_Config_Variables (void)
     FILENAME_EXTENSION_LOWER_CASE               = 1;
     FILENAME_EXTENSION_UPPER_CASE               = 0;
     FILENAME_EXTENSION_NO_CHANGE                = 0;
-    PRESERVE_MODIFICATION_TIME                  = 1;
-    UPDATE_PARENT_DIRECTORY_MODIFICATION_TIME   = 0;
+    PRESERVE_MODIFICATION_TIME                  = 0;
+    UPDATE_PARENT_DIRECTORY_MODIFICATION_TIME   = 1;
 
     FILENAME_CHARACTER_SET_OTHER                = 1;
     FILENAME_CHARACTER_SET_APPROXIMATE          = 0;


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