X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/28d7544ae2adfe6467c6b64a3284f5ed13f81e1a..ab24e883b008b3fe2e211d87c6c88ec2aa01bdc0:/notmuch-config.c diff --git a/notmuch-config.c b/notmuch-config.c index 8d286538..4886d366 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -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);