Expansion: A fix attempt

No time left to check before going home
This commit is contained in:
Jérôme Guélen 2025-03-18 18:55:25 +01:00
parent 35d391a813
commit bed41f4a6f
No known key found for this signature in database
6 changed files with 141 additions and 51 deletions

View file

@ -6,7 +6,7 @@
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/23 15:02:59 by jguelen #+# #+# */
/* Updated: 2025/03/15 14:45:11 by jguelen ### ########.fr */
/* Updated: 2025/03/18 18:44:05 by jguelen ### ########.fr */
/* */
/* ************************************************************************** */
@ -178,6 +178,7 @@ t_wordlist *expand_star(t_worddesc *file_pattern)
char *tmp;
i = 0;
clean_pattern(file_pattern);
while (file_pattern->word[i])
{
if (file_pattern->marker[i] != '\'' && file_pattern->marker[i] != '"'