[yast-commit] r50384 - /trunk/storage/libstorage/src/AppUtil.cc
Author: aschnell
Date: Tue Aug 26 16:43:30 2008
New Revision: 50384
URL: http://svn.opensuse.org/viewcvs/yast?rev=50384&view=rev
Log:
- some cleanup
Modified:
trunk/storage/libstorage/src/AppUtil.cc
Modified: trunk/storage/libstorage/src/AppUtil.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/AppUtil.cc?rev=50384&r1=50383&r2=50384&view=diff
==============================================================================
--- trunk/storage/libstorage/src/AppUtil.cc (original)
+++ trunk/storage/libstorage/src/AppUtil.cc Tue Aug 26 16:43:30 2008
@@ -1,5 +1,5 @@
// Maintainer: fehr@suse.de
-/*
+/*
Textdomain "storage"
*/
@@ -130,7 +130,7 @@
checkNormalFile(string Path_Cv)
{
struct stat Stat_ri;
-
+
return (stat(Path_Cv.c_str(), &Stat_ri) >= 0 &&
S_ISREG(Stat_ri.st_mode));
}
@@ -183,7 +183,7 @@
return Ret_Ci;
}
-list<string> splitString( const string& s, const string& delChars,
+list<string> splitString( const string& s, const string& delChars,
bool multipleDelim, bool skipEmpty,
const string& quotes )
{
@@ -212,7 +212,7 @@
{
string::size_type qpos=s.find_first_of(quotes,cur);
string::size_type lpos=s.find_first_of(delChars,cur);
- if( qpos!=string::npos && qpos
participants (1)
-
aschnell@svn.opensuse.org