francinette
francinette copied to clipboard
[BUG] `ft_putchar_fd`, `ft_putstr_fd`, `ft_putendl_fd` and ` ft_putnbr_fd` tests timeout
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: