debug du heredoc en pipeline finalement la cause est rldone

This commit is contained in:
hugogogo
2021-12-05 17:44:26 +01:00
parent 10a8ecaae8
commit 39908b71d9

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/11 18:46:43 by lperrey #+# #+# */
/* Updated: 2021/12/05 14:15:09 by hulamy ### ########.fr */
/* Updated: 2021/12/05 17:42:35 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -85,7 +85,6 @@ static int here_doc_write(char *delimiter, int doc_fd)
sigaction(SIGINT, &signal_action, NULL);
g_switch_heredoc_sigint = 0;
rl_event_hook = void_func_return_readline;
//rl_signal_event_hook = void_func_return_readline;
line_count = 0;
while (1)
{