Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] app-portage/eclass-manpages: Add support for @DEFAULT-VALUE
Date: Mon, 01 May 2017 13:39:12
Message-Id: 20170502013839.4071be1f@katipo2.lan
In Reply to: Re: [gentoo-dev] [PATCH] app-portage/eclass-manpages: Add support for @DEFAULT-VALUE by "Michał Górny"
1 On Mon, 01 May 2017 12:14:01 +0200
2 Michał Górny <mgorny@g.o> wrote:
3
4 > Any reason you can't just eat_line?
5
6 Would require me to reflow the entire function, eat_line calls getline for you.
7
8 Here, that would mean it would call "getline", and then the loop would continue,
9 and then it would call getline a second time, losing a line of input.