diff --git a/psmisc-22.6-fdleak.patch b/psmisc-22.6-fdleak.patch index e763b51..a4c70d3 100644 --- a/psmisc-22.6-fdleak.patch +++ b/psmisc-22.6-fdleak.patch @@ -8,3 +8,11 @@ } static inline int isnetfs(const char * type) +@@ -1650,6 +1651,7 @@ static void scan_knfsd(struct names *nam + } + + } ++ fclose(fp); + } + #endif /* NFSCHECKS */ + diff --git a/psmisc.changes b/psmisc.changes index 6edc7d4..96c4ac0 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 10 10:21:09 CEST 2009 - werner@suse.de + +- For future use fix fd leak reported by David Binderman (bnc#536209) + ------------------------------------------------------------------- Mon Aug 10 11:27:07 CEST 2009 - werner@suse.de diff --git a/psmisc.spec b/psmisc.spec index 70d8e6b..2412209 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -27,7 +27,7 @@ Group: System/Monitoring PreReq: %fillup_prereq %insserv_prereq AutoReqProv: on Version: 22.7 -Release: 4 +Release: 5 Provides: ps:/usr/bin/killall Summary: Utilities for managing processes on your system Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2