All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/gnbd/tools/gnbd_export gnbd_export.c
@ 2006-12-15 20:27 bmarzins
  0 siblings, 0 replies; 3+ messages in thread
From: bmarzins @ 2006-12-15 20:27 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	bmarzins at sourceware.org	2006-12-15 20:27:01

Modified files:
	gnbd/tools/gnbd_export: gnbd_export.c 

Log message:
	make it so that the -c and -[u|U] flags are mutually exclusive.
	Resolves bz 219413

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_export.c.diff?cvsroot=cluster&r1=1.10&r2=1.11

--- cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/06/26 17:29:31	1.10
+++ cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/12/15 20:27:00	1.11
@@ -802,6 +802,10 @@
       return 1;
     }
   }
+  if (cached && (uid || uid_program)){
+    printe("the -c option may not be used with the -u or -U option\n" MAN_MSG);
+    return 1;
+  }
   if (timeout && cached){
     printe("the -t option may not be used with the -c option\n" MAN_MSG);
     return 1;



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] cluster/gnbd/tools/gnbd_export gnbd_export.c
@ 2006-12-15 20:27 bmarzins
  0 siblings, 0 replies; 3+ messages in thread
From: bmarzins @ 2006-12-15 20:27 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	bmarzins at sourceware.org	2006-12-15 20:27:47

Modified files:
	gnbd/tools/gnbd_export: gnbd_export.c 

Log message:
	make it so that the -c and -[u|U] flags are mutually exclusive.
	Resolves bz 219413

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_export.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.10&r2=1.10.4.1

--- cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/06/26 17:29:31	1.10
+++ cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/12/15 20:27:46	1.10.4.1
@@ -802,6 +802,10 @@
       return 1;
     }
   }
+  if (cached && (uid || uid_program)){
+    printe("the -c option may not be used with the -u or -U option\n" MAN_MSG);
+    return 1;
+  }
   if (timeout && cached){
     printe("the -t option may not be used with the -c option\n" MAN_MSG);
     return 1;



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Cluster-devel] cluster/gnbd/tools/gnbd_export gnbd_export.c
@ 2006-12-15 20:32 bmarzins
  0 siblings, 0 replies; 3+ messages in thread
From: bmarzins @ 2006-12-15 20:32 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	bmarzins at sourceware.org	2006-12-15 20:32:39

Modified files:
	gnbd/tools/gnbd_export: gnbd_export.c 

Log message:
	make it so that the -c and -[u|U] flags are mutually exclusive.
	Resolves bz 219413

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/tools/gnbd_export/gnbd_export.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.10&r2=1.10.2.1

--- cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/06/26 17:29:31	1.10
+++ cluster/gnbd/tools/gnbd_export/gnbd_export.c	2006/12/15 20:32:39	1.10.2.1
@@ -802,6 +802,10 @@
       return 1;
     }
   }
+  if (cached && (uid || uid_program)){
+    printe("the -c option may not be used with the -u or -U option\n" MAN_MSG);
+    return 1;
+  }
   if (timeout && cached){
     printe("the -t option may not be used with the -c option\n" MAN_MSG);
     return 1;



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-15 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 20:27 [Cluster-devel] cluster/gnbd/tools/gnbd_export gnbd_export.c bmarzins
  -- strict thread matches above, loose matches on Subject: below --
2006-12-15 20:27 bmarzins
2006-12-15 20:32 bmarzins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.