554b394ba7
Copy from shells/tcsh based on submit request 17763 from user WernerFink OBS-URL: https://build.opensuse.org/request/show/17763 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=21
11 lines
205 B
Plaintext
11 lines
205 B
Plaintext
--- 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;
|