From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QbbW1-0007ZP-Kb for garchives@archives.gentoo.org; Tue, 28 Jun 2011 16:51:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC4641C098; Tue, 28 Jun 2011 16:47:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7987B1C098 for ; Tue, 28 Jun 2011 16:47:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0B141B4024 for ; Tue, 28 Jun 2011 16:47:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id F0A308003C for ; Tue, 28 Jun 2011 16:47:03 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: Subject: [gentoo-commits] proj/openrc:master commit in: src/librc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/librc/librc-depend.c X-VCS-Directories: src/librc/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: b6766c25442bf75a4cf8e65b53a252831c356022 Date: Tue, 28 Jun 2011 16:47:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 4d4b672c614f9438a2b15dac4b57fc36 commit: b6766c25442bf75a4cf8e65b53a252831c356022 Author: Christian Ruppert gentoo org> AuthorDate: Tue Jun 28 16:45:39 2011 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Tue Jun 28 16:45:39 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3Db6766c25 Use RC_CONF instead of the hardcoded /etc/rc.conf --- src/librc/librc-depend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index 5d6167e..102790d 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -707,7 +707,7 @@ rc_deptree_update_needed(time_t *newest, char *file) if (!rc_newer_than(RC_DEPTREE_CACHE, RC_LOCAL_CONFDIR, newest, file)) newer =3D true; #endif - if (!rc_newer_than(RC_DEPTREE_CACHE, "/etc/rc.conf", newest, file)) + if (!rc_newer_than(RC_DEPTREE_CACHE, RC_CONF, newest, file)) newer =3D true; =20 /* Some init scripts dependencies change depending on config files