francinette icon indicating copy to clipboard operation
francinette copied to clipboard

[BUG] `ft_putchar_fd`, `ft_putstr_fd`, `ft_putendl_fd` and ` ft_putnbr_fd` tests timeout

Open pioupia opened this issue 1 year ago • 0 comments

Describe the bug

  • OS: Ubuntu 22.04.2 2023.07.31 LTS (Cubic 2023-08-01 09:54)
  • CPU: x86_64

Additional information Same as: https://github.com/Tripouille/libftTester/issues/43

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

pioupia avatar Oct 21 '23 09:10 pioupia