This commit is contained in:
Loic Deridder
2025-02-18 10:01:55 +01:00
parent 84d6079a44
commit 00d2420d9f
7 changed files with 23 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ void read_input(t_ast_n *node, int j)
check = ifhere_remove_quote(node, j);
str = get_next_line(node->msh->here_fd, 0);
while (str && ft_strncmp(str, node->files[j], ft_strlen(str) - 1) != 0)
while (str && ft_strncmp(str, node->files[j], -1) != 0)
{
if (!check)
expander_here(&str, node);