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/08 17:30:25 by dgaillet #+# #+# */
/* Updated: 2025/11/08 17:34:12 by dgaillet ### ########lyon.fr */
/* Updated: 2025/11/12 13:39:16 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
@@ -17,6 +17,8 @@ char *ft_strmapi(char const *s, char (*f)(unsigned int, char))
char *str;
unsigned int i;
if (!s)
return (NULL);
i = 0;
str = malloc(sizeof(char) * (ft_strlen(s) + 1));
if (!str)