Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: print -f with -s/-z
- X-seq: zsh-workers 16874
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: print -f with -s/-z
- Date: 21 Mar 2002 21:39:03 +0300
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20020319142106.GA19527@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020319142106.GA19527@xxxxxxxxxx>
В Втр, 19.03.2002, в 17:21, Oliver Kiddle написал:
> This patch is basically the same as 16259 except that I've sorted
> out those things which held me back from committing it before
> (open_memstream prototype and use of gettempname()).
>
...
> Index: Src/builtin.c
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/builtin.c,v
> retrieving revision 1.71
> diff -u -r1.71 builtin.c
> --- Src/builtin.c 4 Mar 2002 15:52:00 -0000 1.71
> +++ Src/builtin.c 19 Mar 2002 14:12:35 -0000
> @@ -27,6 +27,9 @@
> *
> */
>
> +/* this is defined so we get the prototype for open_memstream */
> +#define _GNU_SOURCE 1
> +
It is a bit weird to define it unconditionally even on a system that has
nothing to do with GNU.
If some extra steps are needed to pull in prototype for open_memstream I
prefer configure to test for them instead.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author