Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 3/3] Constify two local variables.
- X-seq: zsh-workers 37262
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH 3/3] Constify two local variables.
- Date: Mon, 30 Nov 2015 13:36:17 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=E94eRI3MIkjAdEybtVvKsTFnuHpZYCS0R2RKp9C+QmI=; b=QaUqjOh0aI2hnx4GtsLl1C9tFsAOMy/j4zIt8zADbEUMYR/tvRyR+u6UcRjjHzP6ed L3FqUOvzBcpytbTseXY0SKfBIqhyYWWIzir8PxxtlsNy1XqZJoBGWeG5zgfSo0eiKcri QJNJzDXfou4iRcx1etPEtz1aY/CM4DfQmZdYtaoBlfchR2C+P1tjGR2R1C5EDs1wK/hY CQXs24c9fTZKO1rdwh0US7uP9QeJnrPof0jLPz7w8CEYrH9+9tqLgDJP/pxv0FXOSV4/ CUp8Wv8hWasoV+LVyNZpqzJRtOROGnzOOiLu6nVyiLsGlNFq3vOpxRxE9kR8hKD4wYa1 gn+Q==
- In-reply-to: <151130123937.ZM28961@torch.brasslantern.com>
- 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
- References: <20151130032153.GH2504@tarsus.local2> <20151130093832.5321126d@pwslap01u.europe.root.pri> <20151130155945.GD10968@tarsus.local2> <20151130164210.56d36bfe@pwslap01u.europe.root.pri> <151130123937.ZM28961@torch.brasslantern.com>
On Nov 30, 12:39pm, Bart Schaefer wrote:
} Subject: Re: [PATCH 3/3] Constify two local variables.
}
} All the setfn() implementations would have to be updated to notice when
} the pointer passed in is the same as the pointer already in the param
} struct and skip the free, or something like that.
Hmm, the default array and hash setfn() already do that. So it would
only be an issue with some of the specials?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author