variables d'environnement dans le parsing

This commit is contained in:
Tom Moron
2024-02-09 14:42:03 +01:00
parent 9b80cc758f
commit 22403b127e
13 changed files with 382 additions and 59 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/30 12:34:41 by tomoron #+# #+# */
/* Updated: 2023/10/31 14:53:10 by tomoron ### ########.fr */
/* Updated: 2024/02/08 17:54:36 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
@ -16,7 +16,7 @@ size_t ft_strlen(const char *str)
unsigned int n;
n = 0;
while (str[n])
while (str && str[n])
n++;
return (n);
}