- Swap if and else in egg_desktop_entries_get_locale_country to prevent

allocating massive amounts of unneeded ram.
This commit is contained in:
Ray Strode 2004-09-27 17:16:13 +00:00
parent 2bdd3465a2
commit ff53c2b0fd

View File

@ -1,7 +1,7 @@
Summary: Utilities for manipulating .desktop files Summary: Utilities for manipulating .desktop files
Name: desktop-file-utils Name: desktop-file-utils
Version: 0.8 Version: 0.8
Release: 4 Release: 5
URL: http://www.freedesktop.org/software/desktop-file-utils URL: http://www.freedesktop.org/software/desktop-file-utils
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
License: GPL License: GPL
@ -15,6 +15,7 @@ Obsoletes: desktop-file-validator
Patch0: desktop-file-utils-0.8-null-entry-free-fix.patch Patch0: desktop-file-utils-0.8-null-entry-free-fix.patch
Patch1: desktop-file-utils-0.8-fix-list-remove-func.patch Patch1: desktop-file-utils-0.8-fix-list-remove-func.patch
Patch2: desktop-file-utils-0.8-country-code-mem-fix.patch
%description %description
@ -29,6 +30,7 @@ fixing it up in the process.
%setup -q %setup -q
%patch0 -p1 -b .null-entry-free-fix %patch0 -p1 -b .null-entry-free-fix
%patch1 -p1 -b .fix-list-remove-func %patch1 -p1 -b .fix-list-remove-func
%patch2 -p1 -b .country-code-mem-fix
%build %build
@ -52,6 +54,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/emacs/site-lisp/ %{_datadir}/emacs/site-lisp/
%changelog %changelog
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 0.8-5
- Swap if and else in egg_desktop_entries_get_locale_country
to prevent allocating massive amounts of unneeded ram.
* Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-4 * Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-4
- Fix the fix for --remove-show-in option - Fix the fix for --remove-show-in option