[yast-commit] r56416 - in /trunk/storage/libstorage/src: AppUtil.cc AppUtil.h LvmLv.cc LvmLv.h
![](https://seccdn.libravatar.org/avatar/ca8d90c49f67ad61282a8e30ff67a25e.jpg?s=120&d=mm&r=g)
Author: aschnell
Date: Thu Mar 26 11:29:17 2009
New Revision: 56416
URL: http://svn.opensuse.org/viewcvs/yast?rev=56416&view=rev
Log:
- replaced dupDash by boost functions
Modified:
trunk/storage/libstorage/src/AppUtil.cc
trunk/storage/libstorage/src/AppUtil.h
trunk/storage/libstorage/src/LvmLv.cc
trunk/storage/libstorage/src/LvmLv.h
Modified: trunk/storage/libstorage/src/AppUtil.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.cc?rev=56416&r1=56415&r2=56416&view=diff
==============================================================================
--- trunk/storage/libstorage/src/AppUtil.cc (original)
+++ trunk/storage/libstorage/src/AppUtil.cc Thu Mar 26 11:29:17 2009
@@ -29,19 +29,6 @@
using namespace std;
-string dupDash(const string& s)
- {
- string ret(s);
- string::size_type pos = ret.find("-");
- while(pos!=string::npos)
- {
- ret.insert(pos,1,'-');
- pos = ret.find("-",pos+2);
- }
- return(ret);
- }
-
-
void createPath(const string& Path_Cv)
{
string::size_type Pos_ii = 0;
Modified: trunk/storage/libstorage/src/AppUtil.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.h?rev=56416&r1=56415&r2=56416&view=diff
==============================================================================
--- trunk/storage/libstorage/src/AppUtil.h (original)
+++ trunk/storage/libstorage/src/AppUtil.h Thu Mar 26 11:29:17 2009
@@ -18,7 +18,6 @@
bool checkNormalFile(const string& Path_Cv);
bool checkDir(const string& Path_Cv);
-string dupDash(const string& s);
string extractNthWord(int Num_iv, const string& Line_Cv, bool GetRest_bi = false);
std::list<string> splitString( const string& s, const string& delChars=" \t\n",
bool multipleDelim=true, bool skipEmpty=true,
Modified: trunk/storage/libstorage/src/LvmLv.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/LvmLv.cc?rev=56416&r1=56415&r2=56416&view=diff
==============================================================================
--- trunk/storage/libstorage/src/LvmLv.cc (original)
+++ trunk/storage/libstorage/src/LvmLv.cc Thu Mar 26 11:29:17 2009
@@ -3,6 +3,7 @@
*/
#include <sstream>
+#include
participants (1)
-
aschnell@svn.opensuse.org