Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54435 - /trunk/storage/libstorage/src/AppUtil.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Wed, 07 Jan 2009 15:08:01 -0000
  • Message-id: <E1LKa0n-0006UX-M9@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Wed Jan 7 16:08:01 2009
New Revision: 54435

URL: http://svn.opensuse.org/viewcvs/yast?rev=54435&view=rev
Log:
- removed to unused functions

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=54435&r1=54434&r2=54435&view=diff
==============================================================================
--- trunk/storage/libstorage/src/AppUtil.cc (original)
+++ trunk/storage/libstorage/src/AppUtil.cc Wed Jan 7 16:08:01 2009
@@ -99,6 +99,7 @@
mkdir(Path_Ci.c_str(), 0777);
}

+
bool
checkDir(string Path_Cv)
{
@@ -108,23 +109,6 @@
S_ISDIR(Stat_ri.st_mode));
}

-bool
-checkSymlink(string Path_Cv)
-{
- struct stat Stat_ri;
-
- return (lstat(Path_Cv.c_str(), &Stat_ri) >= 0 &&
- S_ISLNK(Stat_ri.st_mode));
-}
-
-bool
-checkBlockDevice(string Path_Cv)
-{
- struct stat Stat_ri;
-
- return (stat(Path_Cv.c_str(), &Stat_ri) >= 0 &&
- S_ISBLK(Stat_ri.st_mode));
-}

bool
checkNormalFile(string Path_Cv)
@@ -135,6 +119,7 @@
S_ISREG(Stat_ri.st_mode));
}

+
string extractNthWord(int Num_iv, const string& Line_Cv, bool GetRest_bi)
{
string::size_type pos;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages