Skip to contentSkip to conversation

conga/ricci/modules/storage PartitionTable.cpp ...

Cluster-devel [email protected] 1 participant 1 message Aug 24, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-08-24 14:51:44

Modified files:
ricci/modules/storage: PartitionTable.cpp parted_wrapper.cpp

Log message:
storage module: fix parted versioning differences

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/PartitionTable.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/parted_wrapper.cpp.diff?cvsroot=cluster&r1=1.6&r2=1.7

ricci/modules/storage/PartitionTable.cpp +2 -2
@@ -41,9 +41,9 @@
   
   // check if a partition table is on the path
   list<String> ids;
-  for (list<String>::iterator iter = hds.begin();
+  for (list<String>::const_iterator iter = hds.begin();
        iter != hds.end();
-       iter ++) {
+       iter++) {
     try {
       Parted::partitions(*iter);
       ids.push_back(PT_PREFIX + *iter);
ricci/modules/storage/parted_wrapper.cpp +52 -26

138 lines not on this page · raw message