File tcsh-6.16.00-mailbox.dif of Package tcsh

--- 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;