Open Mouradif opened 8 years ago
I have the same problem.
The Problem in my case @emilwallner was that I didn't cleanup the line
variable at the moment of returning 0. Right before you return 0, try to add a ft_strdel(line)
, that should solve the problem
@Mouradif Thanks! Tried it, but it still didn't work. Anyways, I submitted it and got the full score.
Hi there,
First of all, thank you for your work and your commitment. Your Moulitest makes all our lives less painful here in school.
So here is my issue : I am trying to finish my get_next_line project so naturally before setting it as finished and subscribe to defense, I tested it with Moulitest.
When I launch the test with
make gnl
, I appear to fail 4 tests (I only copied the lines for the failed tests)But when I try these tests individually with respectively
I get the following results :
I have been trying to understand this behaviour and to debug my code for a week now but can't seem to find what's wrong.
Edit
Here is my code
get_next_line.c
get_next_line.h