ft_printfd_fd -> fprintf

This commit is contained in:
2024-04-18 17:57:17 +02:00
parent be46825893
commit 9053276342
11 changed files with 49 additions and 49 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/24 17:44:32 by marde-vr #+# #+# */
/* Updated: 2024/04/13 12:58:01 by tomoron ### ########.fr */
/* Updated: 2024/04/18 17:56:05 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -24,8 +24,8 @@ void get_here_doc_input(t_msh *msh, char *eof)
line = readline("> ");
if (!line)
{
ft_printf_fd(2, "\nminishell: warning: here-document delimited by");
ft_printf_fd(2, " end-of-file, wanted %s", eof);
fprintf(stderr, "\nminishell: warning: here-document delimited by");
fprintf(stderr, " end-of-file, wanted %s", eof);
break ;
}
if (line && !ft_strncmp(line, eof, ft_strlen(eof)))