summaryrefslogtreecommitdiffstats
path: root/src/ft_s_lcom.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-22 22:54:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-22 22:54:14 +0200
commit91b822851212a43feca13a7f540c451074132c3d (patch)
tree22b11850fd656b0fbc08cfde206bd377773e1b67 /src/ft_s_lcom.c
parentStarting to do redirections (diff)
download42-minishell-91b822851212a43feca13a7f540c451074132c3d.tar.gz
42-minishell-91b822851212a43feca13a7f540c451074132c3d.tar.bz2
42-minishell-91b822851212a43feca13a7f540c451074132c3d.tar.xz
42-minishell-91b822851212a43feca13a7f540c451074132c3d.tar.zst
42-minishell-91b822851212a43feca13a7f540c451074132c3d.zip
Implementing redirections
Diffstat (limited to 'src/ft_s_lcom.c')
-rw-r--r--src/ft_s_lcom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_s_lcom.c b/src/ft_s_lcom.c
index 7a72378..6661b1e 100644
--- a/src/ft_s_lcom.c
+++ b/src/ft_s_lcom.c
@@ -105,9 +105,10 @@ t_lcom
link->com = NULL;
link->args = NULL;
link->rdrpath = NULL;
+ /* TODO: redirections here */
+ ft_get_redir(&link);
if (!(words = ft_split(word, ' ')))
return (NULL);
- /* TODO: redirections here */
if (ft_fill_lcom(words, &link) < 0)
{
ft_delwords(words);