9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

commit bdca47727a2618c3cbb85a43fadcf9298ebec424
parent 1583c9239d968bbc571190d2cf563146a9704528
Author: Christopher Brannon <chris@the-brannons.com>
Date:   Wed,  7 Jun 2017 08:58:04 -0700

ed: avoid name collision with libc's getline.

Redefining getline leads to a fun bug when linking statically against musl.

Diffstat:
ed/ed.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ed/ed.c b/ed/ed.c @@ -77,6 +77,7 @@ ulong nlall = 128; int tfile = -1; int vflag = 1; +#define getline p9getline void add(int); int* address(void); int append(int(*)(void), int*);