On 7 June 2017 at 17:58, Christopher Brannon <ch...@the-brannons.com> wrote:
> Redefining getline leads to a fun bug when linking statically against musl.
> ---
>  ed/ed.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/ed/ed.c b/ed/ed.c
> index 85eb455..2627059 100644
> --- 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*);
> --
> 2.13.0

Thanks, applied.

Reply via email to