From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17515 invoked by alias); 8 Apr 2013 15:27:09 -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: 31244 Received: (qmail 639 invoked from network); 8 Apr 2013 15:27:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at spf_s.oracle.com designates 156.151.31.82 as permitted sender) Message-ID: <5162D569.1040206@oracle.com> Date: Mon, 08 Apr 2013 16:34:17 +0200 From: Clemens Huebner User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Re: Function tgoto implicitly converted to pointer References: <1565658.2bmoXxmgiv@thuban> <20130407112403.GJ9763@sym.noone.org> In-Reply-To: <20130407112403.GJ9763@sym.noone.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userp1040.oracle.com [156.151.31.81] On 04/07/13 13:24, Axel Beckert wrote: >> detected the problem(s) above that will likely cause your package to >> segfault on architectures where the size of a pointer is greater >> than the size of an integer, such as ia64 and amd64. > > Can't remember having any such issues on ia64 and especially not > amd64, except that one-liner segfault posted here a few weeks ago. > We had the issue (the one in ../../../Src/Zle/zle_refresh.c:2361 ) in Solaris 64bit, and it definitely caused zsh to crash, when you pressed Cursor right. This was fixed in commit cbb8a3c762ba6034e5ae0c35e6d04c2de130f933 Author: Peter Stephenson Date: Thu Jun 21 08:45:02 2012 +0000 30518: attempt to supply tgoto() prototype when missing only. For Solaris 10 and earlier. This works for Solaris in 5.0.2: ... checking if tgoto prototype is missing... yes ... The log here shows: ... checking if tgoto prototype is missing... no ... Seems like there is a prototype, but the prototype is broken. Regards, Clemens