On Mon, 01 May 2017 12:14:01 +0200 Michał Górny wrote: > Any reason you can't just eat_line? Would require me to reflow the entire function, eat_line calls getline for you. Here, that would mean it would call "getline", and then the loop would continue, and then it would call getline a second time, losing a line of input.