From 6ecebc63d23d5c58ba6a13dc580fefc440ff3e6b Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 16 Feb 2024 22:23:22 +0100 Subject: [PATCH] compiles now --- srcs/exec.c | 2 +- srcs/minishell.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/srcs/exec.c b/srcs/exec.c index 56a248b..0322fc6 100755 --- a/srcs/exec.c +++ b/srcs/exec.c @@ -6,7 +6,7 @@ /* By: marde-vr +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/07 14:12:49 by tomoron #+# #+# */ -/* Updated: 2024/02/16 21:56:40 by tomoron ### ########.fr */ +/* Updated: 2024/02/16 22:22:37 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/srcs/minishell.h b/srcs/minishell.h index a08460f..1ecd98f 100755 --- a/srcs/minishell.h +++ b/srcs/minishell.h @@ -6,7 +6,7 @@ /* By: marde-vr +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/04 17:31:38 by tomoron #+# #+# */ -/* Updated: 2024/02/16 21:51:37 by tomoron ### ########.fr */ +/* Updated: 2024/02/16 22:22:27 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ @@ -66,5 +66,6 @@ void print_parsed_cmd(t_cmd *cmd);//debug void ft_exit(t_cmd *cmd, t_env *env, int error_code); char **env_to_char_tab(t_env *env); void handle_minishellrc(t_env *env); +int cd(t_cmd *cmd); #endif