From 65013fcae63cfa0d1c4248a2689cb36d709ff155 Mon Sep 17 00:00:00 2001 From: gwojda Date: Wed, 15 Mar 2017 15:51:52 +0100 Subject: [PATCH] #37 --- 42sh/src/job-control/put_job_in_foreground.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"); }