tcsh/tcsh-6.16.00-mailbox.dif

11 lines
205 B
Plaintext

--- sh.c
+++ sh.c 2009-08-14 08:27:58.129901841 +0000
@@ -2153,6 +2153,7 @@ mailchk(void)
while (readdir(mailbox))
mailcount++;
+ closedir(mailbox);
if (mailcount == 0)
continue;