[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/ricci/modules/storage FSController.cpp



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe sourceware org	2007-06-27 15:46:34

Modified files:
	ricci/modules/storage: FSController.cpp 

Log message:
	work around temporary brew breakage..

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/FSController.cpp.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.7.2.1&r2=1.7.2.2

--- conga/ricci/modules/storage/FSController.cpp	2007/06/25 19:10:55	1.7.2.1
+++ conga/ricci/modules/storage/FSController.cpp	2007/06/27 15:46:33	1.7.2.2
@@ -28,7 +28,10 @@
 #include "UnsupportedFS.h"
 #include "utils.h"
 #include <errno.h>
+
+#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN
 #include <libgroup.h>
+#endif
 
 using namespace std;
 
@@ -36,6 +39,7 @@
 FSController::get_fs_group_ids(const String& name)
 {
 	list<String> members;
+#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN
 	group_data_t fsgroup;
 
 	if (group_get_group(2, name.c_str(), &fsgroup) != 0)
@@ -51,6 +55,7 @@
 			throw String("invalid node id");
     	members.push_back(String(buf));
 	}
+#endif
 	return members;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]