From bd460191d5022bc8a80f135119647d12b4e9b0c2 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 10 Sep 2009 08:21:58 +0000 Subject: [PATCH 1/3] . OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=6 --- psmisc-22.6-fdleak.patch | 8 ++++++++ psmisc.changes | 5 +++++ 2 files changed, 13 insertions(+) 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 From 383386f444ded1bda88200c9b56dab6e9a42e8b0 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 10 Sep 2009 10:40:30 +0000 Subject: [PATCH 2/3] checked in OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=7 --- psmisc-22.6-fdleak.patch | 8 -------- psmisc.changes | 5 ----- 2 files changed, 13 deletions(-) diff --git a/psmisc-22.6-fdleak.patch b/psmisc-22.6-fdleak.patch index a4c70d3..e763b51 100644 --- a/psmisc-22.6-fdleak.patch +++ b/psmisc-22.6-fdleak.patch @@ -8,11 +8,3 @@ } 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 96c4ac0..6edc7d4 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -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 From ea2cd83207a390a1c650097133d553cddba9d3f0 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 10 Sep 2009 10:40:31 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/psmisc revision 21.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=d2791fd8fd09793e9c8816c85bd2f383 --- psmisc-22.6-fdleak.patch | 8 ++++++++ psmisc.changes | 5 +++++ psmisc.spec | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) 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