From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24563 invoked by alias); 30 Nov 2015 21:35:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37262 Received: (qmail 20747 invoked from network); 30 Nov 2015 21:35:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=E94eRI3MIkjAdEybtVvKsTFnuHpZYCS0R2RKp9C+QmI=; b=HSsGPYBjZ3wmcQFVaQibMuz3OfGAJwb/27kIokmjkEWzb45yxLzDPwtI/ECPi6109/ tZL179fBmQGtm/7DozfQkiFrAdn83smVZ3HVMZELoV55NrGFHfzWTRLOsFZ+51RKXm3B gSCOVq3mekPE7fNIWfQJKtfCyyWDHe8RYQHqVUtq2LLUGwc7fyUULN0aH6KYcnAoY5dM 2Rsj+zYBudNrBkwfGbNvC2F3msMSyl/B5KJyZJheZRWCxo6r0SanMX1wl3y6iylMeXNQ NYmNtmoIcOxNLvv523etaJN/+yjopPzrwdLvpLO8VmJlIKtMnslrpk7cZnsMUtoKNdk6 ERvQ== X-Gm-Message-State: ALoCoQnWoL4eQL+Ce4R7zGMQNPuZExhVu06d8+MT3g8uHzvC34lN16LXf4r/Y5lF9AOJYhSPBYhv X-Received: by 10.98.15.193 with SMTP id 62mr73617972pfp.62.1448919354775; Mon, 30 Nov 2015 13:35:54 -0800 (PST) From: Bart Schaefer Message-Id: <151130133617.ZM29077@torch.brasslantern.com> Date: Mon, 30 Nov 2015 13:36:17 -0800 In-Reply-To: <151130123937.ZM28961@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: [PATCH 3/3] Constify two local variables." (Nov 30, 12:39pm) 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> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH 3/3] Constify two local variables. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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?