Last development push

This commit is contained in:
2025-12-09 19:57:51 +01:00
parent a7f7d77bf9
commit 5e08fc76ef
25 changed files with 764 additions and 195 deletions

View File

@@ -3,10 +3,10 @@
/* ::: :::::::: */
/* get_next_line.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/15 18:37:44 by aortigos #+# #+# */
/* Updated: 2024/03/15 19:31:56 by aortigos ### ########.fr */
/* Updated: 2025/12/09 19:21:50 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -31,6 +31,8 @@ char *ft_read_to_left_str(int fd, char *left_str)
return (NULL);
}
buff[rd_bytes] = '\0';
if (!left_str)
left_str = ft_strdup(""); // o malloc(1) + '\0'
left_str = ft_strjoin(left_str, buff);
}
free(buff);