Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ft_putchar_fd, ft_putstr_fd, ft_putendl_fd and ft_putnbr_fd tests timeout #43

Closed
pioupia opened this issue Oct 20, 2023 · 0 comments · Fixed by #45
Closed

[BUG] ft_putchar_fd, ft_putstr_fd, ft_putendl_fd and ft_putnbr_fd tests timeout #43

pioupia opened this issue Oct 20, 2023 · 0 comments · Fixed by #45

Comments

@pioupia
Copy link
Contributor

pioupia commented Oct 20, 2023

Since the Linux transition for all 42 campus, theses functions timeout without any reason.

It could be a possible bug from all developers in the cursus for the 3 last function, but for ft_putchar_fd which just write a letter in a file its just impossible.

My code is the following:

#include <unistd.h>

void	ft_putchar_fd(char c, int fd)
{
	write(fd, &c, 1);
}

We can't say "This code can timeout". I set here the errors:
Screenshot-from-2023-10-20-09-25-01-min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant