From c135c692b7b90f75df180471eb464d4724cf1453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 13 Aug 2010 15:59:38 +0200 Subject: [PATCH] Apply correct patch and change release number. --- cronie-anacron-closefd.patch | 2 +- cronie.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cronie-anacron-closefd.patch b/cronie-anacron-closefd.patch index 4b9c0a5..be70966 100644 --- a/cronie-anacron-closefd.patch +++ b/cronie-anacron-closefd.patch @@ -5,7 +5,7 @@ diff -up cronie-1.4.5/anacron/main.c.fd cronie-1.4.5/anacron/main.c record_start_time(); read_tab(cwd); -+ fclose(cwd); ++ close(cwd); arrange_jobs(); if (testing_only) diff --git a/cronie.spec b/cronie.spec index 9730d5a..785cce9 100644 --- a/cronie.spec +++ b/cronie.spec @@ -6,7 +6,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.5 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT and BSD and ISC and GPLv2 Group: System Environment/Base URL: https://fedorahosted.org/cronie @@ -195,7 +195,7 @@ cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||: %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs %changelog -* Fri Aug 13 2010 Marcela Mašláňová - 1.4.5-3 +* Fri Aug 13 2010 Marcela Mašláňová - 1.4.5-4 - 623908 fix fd leak in anacron, which caused denail of prelink and others