"extern char **environ" in header file
+ global var g_all deleted, renamed switch_heredoc_sigint
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/23 18:56:53 by lperrey #+# #+# */
|
||||
/* Updated: 2021/11/25 10:02:53 by hulamy ### ########.fr */
|
||||
/* Updated: 2021/11/26 21:45:22 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -24,7 +24,7 @@ void sigint_handler_interactive(int signum)
|
||||
void sigint_handler_heredoc(int signum)
|
||||
{
|
||||
(void)signum;
|
||||
switch_heredoc_sigint = 1;
|
||||
g_switch_heredoc_sigint = 1;
|
||||
rl_done = 1;
|
||||
// write (1, rl_line_buffer, ft_strlen(rl_line_buffer) + 1);
|
||||
// rl_line_buffer = "\004";
|
||||
|
||||
Reference in New Issue
Block a user