storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [2/4] storm git commit: Cleanup.
Date Mon, 21 Nov 2016 18:55:23 GMT
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 <knusbaum@yahoo-inc.com>
Authored: Wed Nov 9 14:30:16 2016 -0600
Committer: Kyle Nusbaum <knusbaum@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;


Mime
View raw message