aboutsummaryrefslogtreecommitdiff
path: root/include/minishell.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-14 15:44:33 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-14 15:44:33 +0200
commit7afd22aacdae5d88f560576fd7261801beb60739 (patch)
treef783f22e6866535ec9b09b0f4a65fbe06da7ba4c /include/minishell.h
parent5c5096d5c6d67686c1ad896cbb7a1b5386abf597 (diff)
downloadminishell-7afd22aacdae5d88f560576fd7261801beb60739.tar.gz
minishell-7afd22aacdae5d88f560576fd7261801beb60739.tar.bz2
minishell-7afd22aacdae5d88f560576fd7261801beb60739.zip
Refactoring redir and preprocess_filename to distiguish between command error and fatal error
Diffstat (limited to 'include/minishell.h')
-rw-r--r--include/minishell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/minishell.h b/include/minishell.h
index 7e755a3..95f299b 100644
--- a/include/minishell.h
+++ b/include/minishell.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */
-/* Updated: 2020/09/09 15:42:03 by charles ### ########.fr */
+/* Updated: 2020/09/14 15:36:04 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -111,7 +111,7 @@ int builtin_exit(char **argv, t_env env);
*/
char **preprocess(t_tok_lst **tokens, t_env env);
-char *preprocess_filename(t_tok_lst **tokens, t_env env);
+int preprocess_filename(t_tok_lst **tokens, t_env env, char **filename);
/*
** signal.c