- parse_argc = 0;
- parse_argv = NULL;
- parse_argc++;
- parse_argv = xbt_realloc(parse_argv, (parse_argc) * sizeof(char *));
- parse_argv[(parse_argc) - 1] = xbt_strdup(A_surfxml_process_function);
- surf_parse_get_double(&start_time, A_surfxml_process_start_time);
- surf_parse_get_double(&kill_time, A_surfxml_process_kill_time);
-
- current_property_set = xbt_dict_new();
+ parse_argv = xbt_new(char *, 2);
+ parse_argv[0] = xbt_strdup(A_surfxml_process_function);
+ parse_argc = 1;
+ start_time = surf_parse_get_double(A_surfxml_process_start_time);
+ kill_time = surf_parse_get_double(A_surfxml_process_kill_time);
+ auto_restart = A_surfxml_process_on_failure == A_surfxml_process_on_failure_DIE ? 0 : 1;