zsh-workers
 help / color / mirror / code / Atom feed
From: Clemens Huebner <clemens.huebner@oracle.com>
To: zsh-workers@zsh.org
Subject: Re: Function tgoto implicitly converted to pointer
Date: Mon, 08 Apr 2013 16:34:17 +0200	[thread overview]
Message-ID: <5162D569.1040206@oracle.com> (raw)
In-Reply-To: <20130407112403.GJ9763@sym.noone.org>

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 <pws@users.sourceforge.net>
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


  parent reply	other threads:[~2013-04-08 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06 18:19 Nick Bryda
2013-04-06 19:36 ` [PATCH] Include zshterm.h to silence a warning Frank Terbeck
2013-04-07 11:24 ` Function tgoto implicitly converted to pointer Axel Beckert
2013-04-07 17:40   ` Nick Bryda
2013-04-08 14:34   ` Clemens Huebner [this message]
2013-04-07 17:24 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5162D569.1040206@oracle.com \
    --to=clemens.huebner@oracle.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).