From: Antonio Radici Date: Mon, 11 Apr 2011 15:25:04 +0000 (+0100) Subject: debian/patches/mutt-patched/sidebar: added a closedir() so the fds will not be starve... X-Git-Tag: debian/1.5.21-4~2 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/d3fc6a7510a8ece5fe23e56e6180b18aa9128d36?ds=sidebyside debian/patches/mutt-patched/sidebar: added a closedir() so the fds will not be starved (Closes: 620854) --- diff --git a/debian/changelog b/debian/changelog index 98cf6df..3162bc3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +mutt (1.5.21-4) unstable; urgency=low + + * debian/paches: + + mutt-patched/sidebar: added a closedir() so the fds will not be starved + (Closes: 620854) + + -- Antonio Radici Mon, 11 Apr 2011 16:23:35 +0100 + mutt (1.5.21-3) unstable; urgency=low * Uploading to unstable diff --git a/debian/patches/mutt-patched/sidebar b/debian/patches/mutt-patched/sidebar index fe06ea7..c48148f 100644 --- a/debian/patches/mutt-patched/sidebar +++ b/debian/patches/mutt-patched/sidebar @@ -53,7 +53,7 @@ in the "mutt-patched" package. rc = 1; break; } -@@ -337,6 +343,32 @@ +@@ -337,6 +343,34 @@ closedir (dirp); @@ -82,11 +82,13 @@ in the "mutt-patched" package. + mailbox->msgcount++; + } + } ++ ++ closedir (dirp); + return rc; } -@@ -345,14 +377,33 @@ +@@ -345,14 +379,33 @@ { int rc = 0; int statcheck; @@ -121,7 +123,7 @@ in the "mutt-patched" package. if (!option(OPTMAILCHECKRECENT) || sb->st_mtime > mailbox->last_visited) { rc = 1; -@@ -374,9 +425,11 @@ +@@ -374,9 +427,11 @@ int mutt_buffy_check (int force) { BUFFY *tmp; @@ -133,7 +135,7 @@ in the "mutt-patched" package. sb.st_size=0; contex_sb.st_dev=0; -@@ -456,6 +509,20 @@ +@@ -456,6 +511,20 @@ case M_MH: if ((tmp->new = mh_buffy (tmp->path)) > 0) BuffyCount++; @@ -1304,7 +1306,7 @@ in the "mutt-patched" package. # Name: crypt_autosign --- a/imap/imap.c +++ b/imap/imap.c -@@ -1521,7 +1521,7 @@ +@@ -1527,7 +1527,7 @@ imap_munge_mbox_name (munged, sizeof (munged), name); snprintf (command, sizeof (command),