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 13:20:55 by dgaillet #+# #+# */
/* Updated: 2025/11/06 13:58:18 by dgaillet ### ########lyon.fr */
/* Updated: 2025/11/12 13:51:23 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
@@ -18,6 +18,8 @@ char *ft_substr(char const *s, unsigned int start, size_t len)
char *sub_str;
size_t s_len;
if (!s)
return (NULL);
s_len = ft_strlen(s);
if (start > s_len)
len = 0;