You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 07:29:51 UTC

svn commit: r1131789 - /incubator/mesos/trunk/src/launcher.cpp

Author: benh
Date: Sun Jun  5 05:29:51 2011
New Revision: 1131789

URL: http://svn.apache.org/viewvc?rev=1131789&view=rev
Log:
Replace tabs with spaces

Modified:
    incubator/mesos/trunk/src/launcher.cpp

Modified: incubator/mesos/trunk/src/launcher.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/launcher.cpp?rev=1131789&r1=1131788&r2=1131789&view=diff
==============================================================================
--- incubator/mesos/trunk/src/launcher.cpp (original)
+++ incubator/mesos/trunk/src/launcher.cpp Sun Jun  5 05:29:51 2011
@@ -32,11 +32,11 @@ using namespace nexus::internal::launche
 
 
 ExecutorLauncher::ExecutorLauncher(FrameworkID _frameworkId,
-				   const string& _executorUri,
-				   const string& _user,
-				   const string& _workDirectory,
-				   const string& _slavePid,
-				   bool _redirectIO,
+                                   const string& _executorUri,
+                                   const string& _user,
+                                   const string& _workDirectory,
+                                   const string& _slavePid,
+                                   bool _redirectIO,
                                    const string_map& _params)
   : frameworkId(_frameworkId), executorUri(_executorUri), user(_user),
     workDirectory(_workDirectory), slavePid(_slavePid),
@@ -132,7 +132,7 @@ string ExecutorLauncher::fetchExecutor()
       fatal("HDFS copyToLocal failed: return code %d", ret);
     executor = localFile;
     if (chmod(executor.c_str(), S_IRWXU | S_IRGRP | S_IXGRP |
-	      S_IROTH | S_IXOTH) != 0)
+              S_IROTH | S_IXOTH) != 0)
       fatalerror("chmod failed");
   }
 
@@ -214,7 +214,7 @@ void ExecutorLauncher::switchUser()
 
 
 void ExecutorLauncher::split(const string& str, const string& delims,
-			     vector<string>* tokens)
+                             vector<string>* tokens)
 {
   // Start and end of current token; initialize these to the first token in
   // the string, skipping any leading delimiters