Compare commits
No commits in common. "b1d827e106aea7b0b4fdb29469826e600d4334e2" and "1b17df61700bab8328c229fb9546523520402c5a" have entirely different histories.
b1d827e106
...
1b17df6170
@ -100,7 +100,6 @@ int ft_cmds_parser(t_data *data, const char *line)
|
||||
tab = ft_split_quoted(line, '|');
|
||||
if (tab == NULL)
|
||||
{
|
||||
ft_freer_tab_ultimate(1, tab);
|
||||
ft_eprintf("minishell: malloc failed\n");
|
||||
return (1);
|
||||
}
|
||||
|
@ -38,8 +38,6 @@ void ft_remove_redirection(char *cmd_str)
|
||||
i++;
|
||||
if (ft_is_in("<>", cmd_str[i]))
|
||||
start = i;
|
||||
if (start == -1)
|
||||
continue ;
|
||||
while (cmd_str[i] == cmd_str[start])
|
||||
i++;
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user