# HG changeset patch # User innparusu # Date 1512450214 -32400 # Node ID 3e6cf8f3aa620635838543cf0327a8a681e76b0f # Parent 324a6b216d70cd90938aa685e65076cec1d8d371 Init file_path diff -r 324a6b216d70 -r 3e6cf8f3aa62 ie-docker.c --- a/ie-docker.c Sat Nov 28 14:51:55 2015 +0900 +++ b/ie-docker.c Tue Dec 05 14:03:34 2017 +0900 @@ -291,6 +291,7 @@ * the corresponding script, if invoked. */ char *execv_args[16]; + char file_path[128] = ""; if (command_is_matched(argv[1], ps_command)) { PSLISTPTR pslist = get_pslist(pattern); @@ -339,8 +340,6 @@ execv_args[0] = base_exec_command; execv_args[1] = cp_command; execv_args[2] = argv[2]; - - char file_path[128]; strcat(file_path, name); strcat(file_path, ":"); strcat(file_path, cp_file_path);