Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Function tgoto implicitly converted to pointer



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@xxxxxxxxxxxxxxxxxxxxx>
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



Messages sorted by: Reverse Date, Date, Thread, Author