fix: heredoc work without global

This commit is contained in:
Camille Chauvet
2023-04-17 12:16:41 +00:00
parent 9ab9c06593
commit 3e7dcd1ba9
5 changed files with 64 additions and 72 deletions

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/15 14:18:21 by cchauvet #+# #+# */
/* Updated: 2023/04/17 10:41:23 by cchauvet ### ########.fr */
/* Updated: 2023/04/17 11:57:07 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -69,5 +69,5 @@ void ft_cmdwaiter(void *ptr)
*ft_get_exit_code() = WEXITSTATUS(exit_status);
}
signal(SIGINT, ft_ctrlc);
signal(SIGQUIT, ft_quit);
signal(SIGQUIT, SIG_IGN);
}