You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2016/11/21 18:55:23 UTC

[2/4] storm git commit: Cleanup.

Cleanup.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/3a5052f4
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/3a5052f4
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/3a5052f4

Branch: refs/heads/master
Commit: 3a5052f4368ea66533c449ad5f1fddddfd0a0f52
Parents: eaa415a
Author: Kyle Nusbaum <kn...@yahoo-inc.com>
Authored: Wed Nov 9 14:30:16 2016 -0600
Committer: Kyle Nusbaum <kn...@yahoo-inc.com>
Committed: Wed Nov 9 14:30:16 2016 -0600

----------------------------------------------------------------------
 .../src/native/worker-launcher/impl/worker-launcher.c     | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/3a5052f4/storm-core/src/native/worker-launcher/impl/worker-launcher.c
----------------------------------------------------------------------
diff --git a/storm-core/src/native/worker-launcher/impl/worker-launcher.c b/storm-core/src/native/worker-launcher/impl/worker-launcher.c
index eabb01a..971951a 100644
--- a/storm-core/src/native/worker-launcher/impl/worker-launcher.c
+++ b/storm-core/src/native/worker-launcher/impl/worker-launcher.c
@@ -585,16 +585,6 @@ int recursive_delete(const char *path, int supervisor_owns_dir) {
     return UNABLE_TO_BUILD_PATH;
   }
 
-//  // Skip current and previous dirs.
-//  size_t pathlen = strlen(path);
-//  char *pathcopy = malloc(pathlen + 1);
-//  strncpy(pathcopy, path, pathlen);
-//  char *fname = basename(pathcopy);
-//  if(strcmp(fname, ".") == 0
-//     || strcmp(fname, "..") == 0) {
-//      return 0;
-//  }
-
   if(access(path, F_OK) != 0) {
     if(errno == ENOENT) {
       return 0;