]> granicus.if.org Git - neomutt/commit
Change struct Mailbox->realpath to be const char *
authorKevin McCarthy <kevin@8t8.us>
Tue, 16 Apr 2019 19:23:42 +0000 (12:23 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 5 May 2019 00:00:38 +0000 (01:00 +0100)
commit4a02618b4b2a587cf36b7ef79ba51144f815b3a3
tree7e3ebfd6523bff604202a081a601d326af1cbd22
parent263be7265b813a1c3842087fecf24174d5fa9b95
Change struct Mailbox->realpath to be const char *

struct Mailbox->path is a fixed array (which will be converted to a struct Buffer in
the next commit).  This is needed to call mutt_expand_path().

However, struct Mailbox->realpath has no such need, and so it is a bit
wasteful (not to mention not big enough) to store as such.

Co-authored-by: Richard Russon <rich@flatcap.org>
compress.c
imap/imap.c
mailbox.c
mailbox.h
mx.c
pop/pop.c