diff options
Diffstat (limited to 'src/ft_p_lcom.c')
-rw-r--r-- | src/ft_p_lcom.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c index 9a4ebad..5890b0f 100644 --- a/src/ft_p_lcom.c +++ b/src/ft_p_lcom.c @@ -16,10 +16,11 @@ #include "ft_s_lcom.h" #include "ft_s_struct.h" -/* void */ -/* ft_check_redir_file() */ -/* { */ -/* } */ +void + ft_check_redir_file() +{ + +} static void ft_rdr_err_check(char *ptr, @@ -59,7 +60,7 @@ static int8_t } ptr++; } - *(p_rdrpath) = '\0'; + *p_rdrpath = '\0'; return (0); } @@ -84,6 +85,7 @@ int8_t } ptr++; /* TODO: handle correctly multiples "msh ~> echo qwe > qwe > asd >> zxc > qweasdzxc" */ + /* hint: bash only handles the last onke */ } if ((*link)->redir != 0) { |