makefile fix and other fixes

This commit is contained in:
David Gailleton
2025-11-12 16:45:04 +01:00
parent 3433a95ddd
commit 187e68e1aa
26 changed files with 88 additions and 61 deletions

View File

@@ -6,7 +6,7 @@
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/06 16:31:38 by dgaillet #+# #+# */
/* Updated: 2025/11/11 13:48:05 by dgaillet ### ########lyon.fr */
/* Updated: 2025/11/12 13:50:53 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
@@ -67,6 +67,8 @@ char *ft_strtrim(char const *s1, char const *set)
size_t i;
char *str;
if (!s1 || !set)
return (NULL);
i = 0;
if (is_empty(s1, set))
return (ft_calloc(1, sizeof(char)));