From 2b039a7035d19213dc7514bfd0b9924e1c21a625 Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Sun, 13 Sep 2009 18:43:41 +0100 Subject: [PATCH] incorporating fixes of http://bugs.mutt.org/3308 into the existing patch --- debian/patches/upstream/538128-mh-folder-access.patch | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.43.0