SHA256
1
0
forked from pool/tcsh
tcsh/tcsh-6.16.00-mailbox.dif

11 lines
205 B
Plaintext
Raw Normal View History

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