update: should fix all

This commit is contained in:
Maieul BOYER 2024-10-13 15:09:39 +02:00
parent 3d10a9b9f6
commit f5a8c2be04
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/14 12:24:49 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 ; return ;
hmap_env_free(state->state->env); hmap_env_free(state->state->env);
hmap_env_free(state->state->tmp_var); hmap_env_free(state->state->tmp_var);
close_fd(state->cmd_pipe.input);
} }
bool _is_builtin(t_const_str argv0) bool _is_builtin(t_const_str argv0)

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/19 15:53:50 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); return (NULL);
} }
__attribute__((destructor(201))) void close_all_slots(void) __attribute__((destructor(201)))
void close_all_slots(void)
{ {
t_usize i; t_usize i;
t_fd_array *arr; t_fd_array *arr;