fix: heredoc work without global
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user