compiles now

This commit is contained in:
2024-04-23 17:08:08 +02:00
parent 2d8624d221
commit e5b705ff64
4 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/24 17:44:32 by marde-vr #+# #+# */
/* Updated: 2024/04/23 16:59:17 by tomoron ### ########.fr */
/* Updated: 2024/04/23 17:07:00 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -36,7 +36,7 @@ void get_here_doc_input(t_msh *msh, char *eof)
free(line);
}
void here_doc_child(t_msh *msh, char *eof, char *here_doc_file)
void here_doc_child(t_msh *msh, char *eof)
{
here_doc_variables(1, msh);
signal(SIGINT, signal_handler_here_doc);
@ -77,7 +77,7 @@ void handle_here_doc(t_msh *msh, char *eof)
}
pid = fork();
if (pid == 0)
here_doc_child(msh, eof, here_doc_file);
here_doc_child(msh, eof);
else
here_doc_signal(msh, pid, here_doc_file);
}