X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bbd1fffddc380176e537b8c0d0542536e8d8a63..ffbb3987b2904e5c55540cacc898f1d2e3e0117f:/tools/tesh2/src/context.c diff --git a/tools/tesh2/src/context.c b/tools/tesh2/src/context.c index 877ffc22bf..3ddd1b210e 100644 --- a/tools/tesh2/src/context.c +++ b/tools/tesh2/src/context.c @@ -37,6 +37,7 @@ context_new(void) #ifdef WIN32 context->t_command_line = NULL; + context->is_not_found = 0; #endif return context; @@ -88,6 +89,9 @@ context_reset(context_t context) free(context->t_command_line); context->t_command_line = NULL; } + + context->is_not_found = 0; + #endif if(context->pos) @@ -132,6 +136,7 @@ context_dup(context_t context) #ifdef WIN32 dup->t_command_line = strdup(context->t_command_line); + dup->is_not_found = context->is_not_found; #endif dup->exit_code = context->exit_code; @@ -187,6 +192,8 @@ context_clear(context_t context) free(context->t_command_line); context->t_command_line = NULL; } + context->is_not_found = 0; + #endif if(context->pos)