lib/mu-msg-file: Use canonical path instead of real path

For the new symlink-support, it's better to use the *canonical* path than
the *realpath(3)* for files, so removing a symlinked maildir will work as
expected.
This commit is contained in:
Dirk-Jan C. Binnema
2020-05-27 17:21:38 +03:00
parent 09c1942187
commit 8bfcb7430b
2 changed files with 13 additions and 11 deletions

View File

@ -40,8 +40,8 @@ struct _MuMsgFile {
GMimeMessage *_mime_msg;
time_t _timestamp;
size_t _size;
char _path [PATH_MAX + 1];
char _maildir [PATH_MAX + 1];
char *_path;
char *_maildir;
};