Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

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

Open
pioupia opened this issue Oct 21, 2023 · 0 comments · May be fixed by #75
Open

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

pioupia opened this issue Oct 21, 2023 · 0 comments · May be fixed by #75

Comments

@pioupia
Copy link

pioupia commented Oct 21, 2023

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: Tripouille/libftTester#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 pioupia changed the title [BUG] [BUG] ft_putchar_fd, ft_putstr_fd, ft_putendl_fd and ft_putnbr_fd tests timeout Oct 21, 2023
@pioupia pioupia linked a pull request Oct 21, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant