From f76c7f115883f46e93ec8fd0d712db1c6ec8b42350b7236e5f2081062e2457c7 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 12 Feb 2007 14:57:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/findutils?expand=0&rev=2 --- findutils-4.2.29.diff | 22 ++++++++++++++++++++-- findutils.changes | 7 ++++++- findutils.spec | 10 ++++++---- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/findutils-4.2.29.diff b/findutils-4.2.29.diff index 3eb4253..6ecd19e 100644 --- a/findutils-4.2.29.diff +++ b/findutils-4.2.29.diff @@ -1,6 +1,6 @@ --- doc/find.texi +++ doc/find.texi -@@ -2900,7 +2900,7 @@ +@@ -2908,7 +2908,7 @@ @item --prunepaths='@var{path}@dots{}' Directories to omit from the database, which would otherwise be included. The environment variable @code{PRUNEPATHS} also sets this @@ -9,6 +9,24 @@ used as regular expressions (with @code{find ... -regex}, so you need to specify these paths in the same way that @code{find} will encounter them. This means for example that the paths must not include trailing +--- lib/savedirinfo.c ++++ lib/savedirinfo.c +@@ -253,6 +253,7 @@ + p->entries = NULL; + free(p->buffer); + p->buffer = NULL; ++ free(p); + } + + +@@ -291,6 +292,7 @@ + *extra = pex; + else + free (pex); ++ free_dirinfo(p); + return buf; + } + else --- locate/updatedb.1 +++ locate/updatedb.1 @@ -75,8 +75,7 @@ @@ -86,7 +104,7 @@ rm -f $LOCATE_DB.n --- xargs/xargs.c +++ xargs/xargs.c -@@ -1234,7 +1234,7 @@ +@@ -1217,7 +1217,7 @@ [-I replace-str] [-i[replace-str]] [--replace[=replace-str]]\n\ [-n max-args] [--max-args=max-args]\n\ [-s max-chars] [--max-chars=max-chars]\n\ diff --git a/findutils.changes b/findutils.changes index b902591..a83f2d7 100644 --- a/findutils.changes +++ b/findutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 12 13:53:12 CET 2007 - schwab@suse.de + +- Fix memleaks. + ------------------------------------------------------------------- Mon Dec 4 13:22:38 CET 2006 - schwab@suse.de @@ -29,7 +34,7 @@ Mon Oct 16 13:56:56 CEST 2006 - schwab@suse.de ------------------------------------------------------------------- Mon Aug 7 11:46:08 CEST 2006 - schwab@suse.de -- Update to finutils 4.2.28. +- Update to findutils 4.2.28. ** Bug Fixes Savannah bug #15800: If find finds more subdirectories within a parent directory than it previously expected to based on the link count of diff --git a/findutils.spec b/findutils.spec index dfccf9c..c6c0709 100644 --- a/findutils.spec +++ b/findutils.spec @@ -1,7 +1,7 @@ # # spec file for package findutils (Version 4.2.29) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -19,7 +19,7 @@ Obsoletes: find Autoreqprov: on PreReq: %{install_info_prereq} Version: 4.2.29 -Release: 1 +Release: 8 Summary: GNU find--Finding Files Source: findutils-%{version}.tar.gz Source1: sysconfig.locate @@ -133,8 +133,10 @@ rm -rf $RPM_BUILD_ROOT /var/adm/fillup-templates/* %changelog -n findutils +* Mon Feb 12 2007 - schwab@suse.de +- Fix memleaks. * Mon Dec 04 2006 - schwab@suse.de -- Update to finutils 4.2.29. +- Update to findutils 4.2.29. ** Documentation Fixes The global effect of options (other than -daystart and -follow) is now explained more clearly in the manual page. Savannah bug #15360. @@ -153,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT * Mon Oct 16 2006 - schwab@suse.de - cron.daily.clean_core: robustify to avoid matching non-cores [#210987]. * Mon Aug 07 2006 - schwab@suse.de -- Update to finutils 4.2.28. +- Update to findutils 4.2.28. ** Bug Fixes Savannah bug #15800: If find finds more subdirectories within a parent directory than it previously expected to based on the link count of