diff --git a/exec/src/run_ast/run_builtins2.c b/exec/src/run_ast/run_builtins2.c index 51f42d18..8374aed6 100644 --- a/exec/src/run_ast/run_builtins2.c +++ b/exec/src/run_ast/run_builtins2.c @@ -6,7 +6,7 @@ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/09/14 12:24:49 by maiboyer #+# #+# */ -/* Updated: 2024/10/12 17:51:23 by rparodi ### ########.fr */ +/* Updated: 2024/10/13 15:09:08 by maiboyer ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,7 +22,6 @@ void _ffree_func(struct s_ffree_state *state) return ; hmap_env_free(state->state->env); hmap_env_free(state->state->tmp_var); - close_fd(state->cmd_pipe.input); } bool _is_builtin(t_const_str argv0) diff --git a/stdme/src/fs/fs_internal.c b/stdme/src/fs/fs_internal.c index 3643e0cf..e5afd05f 100644 --- a/stdme/src/fs/fs_internal.c +++ b/stdme/src/fs/fs_internal.c @@ -6,7 +6,7 @@ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/19 15:53:50 by maiboyer #+# #+# */ -/* Updated: 2024/10/12 17:52:28 by rparodi ### ########.fr */ +/* Updated: 2024/10/13 15:03:54 by maiboyer ### ########.fr */ /* */ /* ************************************************************************** */ @@ -46,7 +46,8 @@ struct s_file_slot *get_unused_fd_slot(void) return (NULL); } -__attribute__((destructor(201))) void close_all_slots(void) +__attribute__((destructor(201))) +void close_all_slots(void) { t_usize i; t_fd_array *arr;