#include "sdktools.h"
#define TRACE_TAG TRACE_SERVICES
+#include "log.h"
+
#include "sdb.h"
#include "sdktools.h"
#include "strutils.h"
-#include "fileutils.h"
#include "utils.h"
struct sudo_command root_commands[] = {
}
},
/* end */
- { NULL, NULL, NULL }
+ { NULL, NULL, {NULL} }
};
-static struct command_suffix
+struct command_suffix
{
const char *name; // comments for human
const char *suffix; //pattern
while(ret_str[--len]=='\n');
ret_str[len + 1] = '\0';
- if (sscanf(ret_str, "Tizen Application Installation Path: %s", pkg_path) != 1) {
+ if (sscanf(ret_str, "Tizen Application Installation Path: %4095s", pkg_path) != 1) {
D("failed : parsing fail (str:%s)\n", ret_str);
return 0;
}