Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 3/3] Constify two local variables.
- X-seq: zsh-workers 37255
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH 3/3] Constify two local variables.
- Date: Mon, 30 Nov 2015 09:38:32 +0000
- In-reply-to: <20151130032153.GH2504@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <20151130032153.GH2504@tarsus.local2>
On Mon, 30 Nov 2015 03:21:53 +0000
Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> I assume that v->pm->gsu.a->getfn() has no access to v->start and
> v->end, hence changing the order is safe.
Yes, the getfn() is very low level, dealing only with storage for that
parameter and having no knowledge at all of any expansion/substitution
happening above it.
> Are there any compilers that choke on 'char **const' (const pointer to pointer
> to char)?
I suspect we ditched those some years ago when we started making more
use of const, but there might be a few oddballs lying around.
By the way...
> See for example the number of uses of mkarry()
that should have been "mkarray()". I see 19 uses, then there's
also hmkarray() which comes from the heap and is only used 3 times.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author