Introduction
Introduction Statistics Contact Development Disclaimer Help
ed: avoid name collision with libc's getline. - 9base - revived minimalist port…
git clone git://git.suckless.org/9base
Log
Files
Refs
README
LICENSE
---
commit bdca47727a2618c3cbb85a43fadcf9298ebec424
parent 1583c9239d968bbc571190d2cf563146a9704528
Author: Christopher Brannon <[email protected]>
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:
M 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*);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.