0
0
This commit is contained in:
2021-08-25 22:25:54 +02:00
parent eea85ffae9
commit 6de9119879
2 changed files with 4 additions and 2 deletions

View File

@@ -19,9 +19,9 @@ char **ft_split(char *str, char *charset);
int main(int argc, char *argv[])
{
char **strs;
char *str;
char *charset;
char **strs;
int i;
if (argc < 2)
@@ -41,5 +41,6 @@ int main(int argc, char *argv[])
printf("strs[%d] = %s\n", i, strs[i]);
i++;
}
free(strs);
return (0);
}

View File

@@ -3,7 +3,8 @@ set -e
rm -f a.out
#norminette -R CheckForbiddenSourceHeader ft_*.c
norminette -R CheckForbiddenSourceHeader
gcc -Wall -Wextra -Werror -fsanitize=address -g -o a.out *.c
#gcc -Wall -Wextra -Werror -fsanitize=address -g -o a.out *.c
gcc -Wall -Wextra -Werror -o a.out *.c
echo $(basename $PWD):
./a.out "$@"
rm -f a.out