From 18069053ee9bc7d2a105268c05e6b46f62035756 Mon Sep 17 00:00:00 2001 From: whaffman Date: Wed, 19 Mar 2025 15:40:01 +0100 Subject: [PATCH] norm --- inc/minishell.h | 4 ++-- src/main.c | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/inc/minishell.h b/inc/minishell.h index 0523641..163e3e1 100644 --- a/inc/minishell.h +++ b/inc/minishell.h @@ -6,7 +6,7 @@ /* By: marvin +#+ */ /* +#+ */ /* Created: 2025/02/04 16:13:13 by whaffman #+# #+# */ -/* Updated: 2025/03/19 14:46:36 by whaffman ######## odam.nl */ +/* Updated: 2025/03/19 15:39:44 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ @@ -33,7 +33,7 @@ # include "debug.h" # include "utils.h" -extern int g_signum; +extern int g_signum; # define TRUE 1 # define FALSE 0 diff --git a/src/main.c b/src/main.c index 9a9869e..c439aed 100644 --- a/src/main.c +++ b/src/main.c @@ -6,13 +6,13 @@ /* By: qmennen +#+ */ /* +#+ */ /* Created: 2025/02/04 16:19:22 by whaffman #+# #+# */ -/* Updated: 2025/03/19 14:58:06 by whaffman ######## odam.nl */ +/* Updated: 2025/03/19 15:38:56 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #include "minishell.h" -int g_signum = 0; +int g_signum = 0; static void main_loop(t_minishell *msh) { @@ -39,7 +39,6 @@ static void main_loop(t_minishell *msh) ft_lstiter(msh->tokens, token_print); msh->commands = parser_get_commands(msh); executor_execute_pipeline(msh); - free_minishell_line(msh); } }