Patch bug \ à la fin des lignes - close #11
This commit is contained in:
parent
faf692aea6
commit
b28d3dc41d
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ void parse_string(char *orig, char *dest[], char find)
|
|||
token = strtok(NULL, &find);
|
||||
}
|
||||
|
||||
if (pred)
|
||||
i++;
|
||||
|
||||
/** le dernier argument doit être NULL
|
||||
pour l’utilisation de execvp */
|
||||
free(dest[i]);
|
||||
|
|
Loading…
Reference in a new issue