From 554b394ba7e0f31c1c44247b398104e84b9aa359b47024f08082e418b8cc2839 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 14 Aug 2009 13:09:50 +0000 Subject: [PATCH] Accepting request 17763 from shells 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 --- tcsh-6.16.00-mailbox.dif | 10 ++++++++++ tcsh.changes | 5 +++++ tcsh.spec | 4 +++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tcsh-6.16.00-mailbox.dif diff --git a/tcsh-6.16.00-mailbox.dif b/tcsh-6.16.00-mailbox.dif new file mode 100644 index 0000000..079761a --- /dev/null +++ b/tcsh-6.16.00-mailbox.dif @@ -0,0 +1,10 @@ +--- 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; diff --git a/tcsh.changes b/tcsh.changes index b7e2605..8a85859 100644 --- a/tcsh.changes +++ b/tcsh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 14 10:29:22 CEST 2009 - werner@suse.de + +- After mailbox counting close directory (bnc#530779) + ------------------------------------------------------------------- Tue Jun 23 11:18:55 CEST 2009 - werner@suse.de diff --git a/tcsh.spec b/tcsh.spec index 86beaba..2e50fce 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -26,7 +26,7 @@ Group: System/Shells Requires: gawk textutils AutoReqProv: on Version: 6.16.00 -Release: 3 +Release: 4 Summary: The C SHell Source: ftp.astron.com:/pub/tcsh/tcsh-6.16.00.tar.bz2 Source1: nls-iconv @@ -43,6 +43,7 @@ Patch7: tcsh-6.15.00-blanks.dif Patch8: tcsh-6.15.00-fullpath.dif Patch9: tcsh-6.16.00-grabpgrp.dif Patch10: tcsh-6.16.00-colorls.dif +Patch11: tcsh-6.16.00-mailbox.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -72,6 +73,7 @@ Authors: %patch8 -p0 -b .fullpath %patch9 -p0 -b .pgrp %patch10 -p0 -b .colorls +%patch11 -p0 -b .mailbox %patch sh $RPM_SOURCE_DIR/nls-iconv