fixed leaks and some redirection errors
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/04 17:31:38 by tomoron #+# #+# */
|
||||
/* Updated: 2024/04/22 15:25:22 by marde-vr ### ########.fr */
|
||||
/* Updated: 2024/04/22 19:13:12 by marde-vr ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -107,14 +107,14 @@ int file_access(t_msh *msh, int *found);
|
||||
void remove_command_from_msh(t_msh *msh);
|
||||
void ft_exit(t_msh *msh, int error_code);
|
||||
void sort_wildcards_token(t_token *list);
|
||||
void redirect_input(t_msh *msh, int i, char **cmd_args);
|
||||
void redirect_output(t_msh *msh, int i, char **cmd_args);
|
||||
void print_cmd_type(t_cmd_type type, char *value);
|
||||
int cmd_is_forkable_builtin(char *cmd_token);
|
||||
void signal_handler_command(int signum);
|
||||
void ft_exit(t_msh *msh, int exit_code);
|
||||
void redirect_output(t_msh *msh, int i);
|
||||
char **split_paths_from_env(t_env *env);
|
||||
int add_return_code_to_str(char *res);
|
||||
void redirect_input(t_msh *msh, int i);
|
||||
void parse_var(t_msh *msh, char *line);
|
||||
void print_parsed_token(t_token *cmd);//debug
|
||||
int get_var_name_len(char *command);
|
||||
|
Reference in New Issue
Block a user