From: Antonio Radici Date: Sun, 13 Sep 2009 17:43:41 +0000 (+0100) Subject: incorporating fixes of http://bugs.mutt.org/3308 into the existing patch X-Git-Tag: debian/1.5.20-3~4 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/2b039a7035d19213dc7514bfd0b9924e1c21a625?ds=inline incorporating fixes of http://bugs.mutt.org/3308 into the existing patch --- diff --git a/debian/patches/upstream/538128-mh-folder-access.patch b/debian/patches/upstream/538128-mh-folder-access.patch index 4c07d03..05927bf 100644 --- a/debian/patches/upstream/538128-mh-folder-access.patch +++ b/debian/patches/upstream/538128-mh-folder-access.patch @@ -63,3 +63,12 @@ bug 538128 } static inline mode_t mh_umask (CONTEXT* ctx) +@@ -1155,7 +1145,7 @@ + + if (ctx->magic == M_MH) + { +- if (mh_read_sequences (&mhs, ctx->path) >= 0) ++ if (mh_read_sequences (&mhs, ctx->path) < 0) + return -1; + mh_update_maildir (md, &mhs); + mhs_free_sequences (&mhs);