process : retour à la version correcte
parent
60d6017ef2
commit
6b2f53aee4
|
@ -29,20 +29,6 @@ void srv_process_gen (struct process *p
|
|||
|
||||
snprintf(p->path_in , PATH_MAX, "%s%d-%d-in" , TMPDIR, pid, index);
|
||||
snprintf(p->path_out, PATH_MAX, "%s%d-%d-out", TMPDIR, pid, index);
|
||||
//printf("path-in : %s\n", p->path_in );
|
||||
//printf("path-out : %s\n", p->path_out );
|
||||
|
||||
p->in = NULL;
|
||||
p->out = NULL;
|
||||
}
|
||||
|
||||
void srv_process_free (struct process * p)
|
||||
{
|
||||
// TODO nothing to do now
|
||||
|
||||
snprintf(p->path_in , PATH_MAX, "%s/%d-%d-in" , TMPDIR, pid, index);
|
||||
snprintf(p->path_out, PATH_MAX, "%s/%d-%d-out", TMPDIR, pid, index);
|
||||
|
||||
}
|
||||
|
||||
void srv_process_print (struct process *p)
|
||||
|
|
Reference in New Issue