public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - config: Remove all references to ccsd from ccs_tool
Date: Wed, 12 Aug 2009 10:16:00 -0000	[thread overview]
Message-ID: <20090812101435.2C111120324@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=922b9930e20a8894e29326ffb8f4d314207a3128
Commit:        922b9930e20a8894e29326ffb8f4d314207a3128
Parent:        de503c0247d1ae7191996e8aa6f4fde3d9256a63
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed Aug 12 11:13:51 2009 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Aug 12 11:13:51 2009 +0100

config: Remove all references to ccsd from ccs_tool

Apparently it doesn't exist any more, even as legacy code

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 config/tools/ccs_tool/editconf.c |   47 --------------------------------------
 1 files changed, 0 insertions(+), 47 deletions(-)

diff --git a/config/tools/ccs_tool/editconf.c b/config/tools/ccs_tool/editconf.c
index cd25b38..323c561 100644
--- a/config/tools/ccs_tool/editconf.c
+++ b/config/tools/ccs_tool/editconf.c
@@ -36,8 +36,6 @@ struct option_info
 	const char *configfile;
 	const char *outputfile;
 	int  do_delete;
-	int  tell_ccsd;
-	int  force_ccsd;
 };
 
 static void config_usage(int rw)
@@ -46,9 +44,6 @@ static void config_usage(int rw)
 	if (rw)
 	{
 		fprintf(stderr, " -o --outputfile    Name of output file (defaults to same as --configfile)\n");
-		fprintf(stderr, " -C --ccs           Tell CCSD about this change\n");
-		fprintf(stderr, "                    default: run \"ccs_tool update\" if file is updated in place)\n");
-		fprintf(stderr, " -F --force_ccs     Force \"ccs_tool upgrade\" even if input & output files differ\n");
 	}
 }
 
@@ -575,8 +570,6 @@ struct option addnode_options[] =
       { "fence_type", required_argument, NULL, 'f'},
       { "outputfile", required_argument, NULL, 'o'},
       { "configfile", required_argument, NULL, 'c'},
-      { "ccs", no_argument, NULL, 'C'},
-      { "force_ccs", no_argument, NULL, 'F'},
       { NULL, 0, NULL, 0 },
 };
 
@@ -584,8 +577,6 @@ struct option delnode_options[] =
 {
       { "outputfile", required_argument, NULL, 'o'},
       { "configfile", required_argument, NULL, 'c'},
-      { "ccs", no_argument, NULL, 'C'},
-      { "force_ccs", no_argument, NULL, 'F'},
       { NULL, 0, NULL, 0 },
 };
 
@@ -593,8 +584,6 @@ struct option addfence_options[] =
 {
       { "outputfile", required_argument, NULL, 'o'},
       { "configfile", required_argument, NULL, 'c'},
-      { "ccs", no_argument, NULL, 'C'},
-      { "force_ccs", no_argument, NULL, 'F'},
       { NULL, 0, NULL, 0 },
 };
 
@@ -792,7 +781,6 @@ void add_node(int argc, char **argv)
 	xmlNode *root_element;
 
 	memset(&ninfo, 0, sizeof(ninfo));
-	ninfo.tell_ccsd = 0;
 	ninfo.votes = "1";
 
 	while ( (opt = getopt_long(argc, argv, "v:n:a:f:o:c:CFh?", addnode_options, NULL)) != EOF)
@@ -825,14 +813,6 @@ void add_node(int argc, char **argv)
 			ninfo.outputfile = strdup(optarg);
 			break;
 
-		case 'C':
-			ninfo.tell_ccsd = 1;
-			break;
-
-		case 'F':
-			ninfo.force_ccsd = 1;
-			break;
-
 		case '?':
 		default:
 			addnode_usage(argv[0]);
@@ -868,7 +848,6 @@ void del_node(int argc, char **argv)
 	xmlNode *root_element;
 
 	memset(&ninfo, 0, sizeof(ninfo));
-	ninfo.tell_ccsd = 0;
 
 	while ( (opt = getopt_long(argc, argv, "o:c:CFh?", delnode_options, NULL)) != EOF)
 	{
@@ -882,14 +861,6 @@ void del_node(int argc, char **argv)
 			ninfo.outputfile = strdup(optarg);
 			break;
 
-		case 'C':
-			ninfo.tell_ccsd = 1;
-			break;
-
-		case 'F':
-			ninfo.force_ccsd = 1;
-			break;
-
 		case '?':
 		default:
 			delnode_usage(argv[0]);
@@ -1100,7 +1071,6 @@ void add_fence(int argc, char **argv)
 	int opt;
 
 	memset(&ninfo, 0, sizeof(ninfo));
-	ninfo.tell_ccsd = 0;
 
 	while ( (opt = getopt_long(argc, argv, "c:o:CFh?", list_options, NULL)) != EOF)
 	{
@@ -1113,14 +1083,6 @@ void add_fence(int argc, char **argv)
 			ninfo.outputfile = strdup(optarg);
 			break;
 
-		case 'C':
-			ninfo.tell_ccsd = 1;
-			break;
-
-		case 'F':
-			ninfo.force_ccsd = 1;
-			break;
-
 		case '?':
 		default:
 			addfence_usage(argv[0]);
@@ -1171,7 +1133,6 @@ void del_fence(int argc, char **argv)
 	int opt;
 
 	memset(&ninfo, 0, sizeof(ninfo));
-	ninfo.tell_ccsd = 0;
 
 	while ( (opt = getopt_long(argc, argv, "c:o:CFhv?", list_options, NULL)) != EOF)
 	{
@@ -1184,14 +1145,6 @@ void del_fence(int argc, char **argv)
 			ninfo.outputfile = strdup(optarg);
 			break;
 
-		case 'C':
-			ninfo.tell_ccsd = 1;
-			break;
-
-		case 'F':
-			ninfo.force_ccsd = 1;
-			break;
-
 		case '?':
 		default:
 			delfence_usage(argv[0]);


                 reply	other threads:[~2009-08-12 10:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090812101435.2C111120324@lists.fedorahosted.org \
    --to=chrissie@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).