From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14253 invoked by alias); 6 May 2011 14:16:55 -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: 29167 Received: (qmail 3399 invoked from network); 6 May 2011 14:16:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Fri, 6 May 2011 15:16:45 +0100 From: Peter Stephenson To: Subject: Re: [PATCH] Compilation fix for AIX (missing consts) Message-ID: <20110506151645.48b41f85@pwslap01u.europe.root.pri> In-Reply-To: <20110506145142.4dba5b74@pwslap01u.europe.root.pri> References: <20110506145142.4dba5b74@pwslap01u.europe.root.pri> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.103.11.49] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.68.0.154 On Fri, 6 May 2011 14:51:42 +0100 Peter Stephenson wrote: > The issues I can see are with the names columns, lines, move, newline > and tab (ick!). After fixing these, this now compiles and runs > correctly on my machine. I can't entirely exclude the possibility it > has subtly redefined some other word. To try to help, I ran egrep -w "("${(j.|.)$(perl -ne '/\#define\s+([[:alnum:]_]+)/ && print "$1\n"' /usr/include/ncursesw/term.h | uniq)}")" **/*.[ch] and looked for definitions we were using in the shell. It's a bit hard to be sure --- there are lots of matches with words like "TTY" and "lines" in comments, parameter names etc. --- but I didn't see anything that looked suspicious. Grepping the source after comment removal would be a better check but I don't have the energy. -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom