Archived
3
0

process : retour à la version correcte

This commit is contained in:
Philippe PITTOLI 2016-09-10 17:29:50 +02:00
parent 60d6017ef2
commit 6b2f53aee4

View File

@ -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)