diff --git a/42sh/src/job-control/put_job_in_foreground.c b/42sh/src/job-control/put_job_in_foreground.c index 6b33dec1..c90577a4 100644 --- a/42sh/src/job-control/put_job_in_foreground.c +++ b/42sh/src/job-control/put_job_in_foreground.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/12/13 14:58:36 by jhalford #+# #+# */ -/* Updated: 2017/03/15 11:14:27 by gwojda ### ########.fr */ +/* Updated: 2017/03/15 15:51:30 by gwojda ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,8 +22,8 @@ int put_job_in_foreground(t_job *j, int cont) tcsetpgrp(STDIN, j->pgid); if (cont) { -// j->tmodes = pas initialisé ! - tcsetattr(STDIN, TCSADRAIN, &j->tmodes); + // j->tmodes = pas initialisé ! + //tcsetattr(STDIN, TCSADRAIN, &j->tmodes); if (kill(-j->pgid, SIGCONT) < 0) DG("kill(SIGCONT) failed"); }