renamed stuff and removed ctrl-C handler for now

This commit is contained in:
Maix0 2024-07-09 15:04:08 +02:00
parent 6b5bc68de9
commit 4303370d55
3 changed files with 132 additions and 131 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/02 13:22:14 by maiboyer #+# #+# */
/* Updated: 2024/07/08 21:19:35 by maiboyer ### ########.fr */
/* Updated: 2024/07/09 14:43:30 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -57,8 +57,8 @@ t_error install_signal(void)
data = (struct sigaction){};
data.sa_sigaction = sigint_handle;
data.sa_flags = SA_SIGINFO | SA_NOCLDWAIT;
if (sigaction(SIGINT, &data, NULL))
return (ERROR);
// if (sigaction(SIGINT, &data, NULL))
// return (ERROR);
data.sa_sigaction = sigquit_handle;
if (sigaction(SIGQUIT, &data, NULL))