normed
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/15 12:53:29 by tomoron #+# #+# */
|
||||
/* Updated: 2024/04/25 10:35:48 by tomoron ### ########.fr */
|
||||
/* Updated: 2024/04/26 10:49:36 by marde-vr ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "minishell.h"
|
||||
@ -19,7 +19,7 @@ int filename_corresponds(char *wildcard, char *value)
|
||||
{
|
||||
if (*wildcard == '*')
|
||||
{
|
||||
while(*wildcard == '*' && wildcard[1] == '*')
|
||||
while (*wildcard == '*' && wildcard[1] == '*')
|
||||
wildcard++;
|
||||
if (!wildcard[1])
|
||||
return (1);
|
||||
|
Reference in New Issue
Block a user