here_doc script_fd fix
+ line_len in here_doc + error message SIGQUIT
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/11/16 01:57:38 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/21 17:29:39 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/12/22 15:38:01 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -48,7 +48,9 @@ static void handle_signal_status(int wstatus)
|
||||
signum = WTERMSIG(wstatus);
|
||||
set_last_exit_status(EXIT_SIGNAL + signum);
|
||||
if (signum == SIGINT)
|
||||
write(STDIN_FILENO, "\n", 1);
|
||||
write(STDOUT_FILENO, "\n", 1);
|
||||
if (signum == SIGQUIT)
|
||||
ft_putstr_fd("Quit (core dumped)\n", STDERR_FILENO);
|
||||
}
|
||||
|
||||
static int handle_wait_error(void)
|
||||
|
||||
Reference in New Issue
Block a user