mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
Expansion: A fix attempt
No time left to check before going home
This commit is contained in:
parent
35d391a813
commit
bed41f4a6f
6 changed files with 141 additions and 51 deletions
|
|
@ -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] != '"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue