]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-config.c
test: Fix from/to search test queries
[notmuch] / notmuch-config.c
index 8d286538c086180ef9c88ef6a00315c95fc67fea..4886d366f7e787af9d6ffbc6dc8a92efb73c2628 100644 (file)
@@ -454,7 +454,7 @@ notmuch_config_save (notmuch_config_t *config)
     }
 
     /* Try not to overwrite symlinks. */
-    filename = realpath (config->filename, NULL);
+    filename = canonicalize_file_name (config->filename);
     if (! filename) {
        if (errno == ENOENT) {
            filename = strdup (config->filename);