[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch to InstallPending() function
From: |
Sven Nielsen |
Subject: |
patch to InstallPending() function |
Date: |
Tue, 2 Sep 2003 11:10:07 -0700 |
User-agent: |
Mutt/1.2.5.1i |
Hello,
Apologies if this is a duplicate; I submitted this patch via Savannah,
but wasn't sure if that's where active patches should go.
I found that the expected behavior whereby one can add a quoted string
to the 'resolve:' directive in cfengine didn't work as expected; it would
accept the line, but wouldn't add the quoted string to the resolv.conf file.
I made the following patch; basically it adds an extra case to
InstallPending(), tacking the extra line onto the resolv.conf file.
Just wanted to make sure you got it OK,
-Sven
--- src/install.c.ORIG Wed May 21 03:34:10 2003
+++ src/install.c Thu Aug 28 15:53:42 2003
@@ -2254,6 +2254,9 @@
case ignore: AppendIgnore(CURRENTOBJECT);
break;
+ case resolve: AppendNameServer(CURRENTOBJECT);
+ break;
+
case tidy: if (VAGE >= 99999)
{
yyerror("Must specify an age for tidy actions");
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch to InstallPending() function,
Sven Nielsen <=