bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with wbkgrnd when upgrading from 6.1 to 6.2


From: Thomas Dickey
Subject: Re: Issue with wbkgrnd when upgrading from 6.1 to 6.2
Date: Sat, 4 Apr 2020 16:10:59 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Apr 04, 2020 at 08:54:36PM +0200, Anton Vidovic wrote:
> Hello Thomas,
> 
> I am maintaining a ncurses binding in Common Lisp [1].
> 
> The ncurses functions are called by a Lisp foreign function interface.
> 
> Since ncurses 6.2 the routine wbkgrnd stopped working.

https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00002.html

> This would be a minimal example in Lisp that works as expected with 6.1
> but does nothing on 6.2:
> 
> --
> 
> (initscr)
> 
> (cffi:with-foreign-objects ((ptr '(:struct cchar_t))
>                             (wch 'wchar_t 5))
> 
>   ;; zero the wchar array
>   (dotimes (i 5)
>     (setf (cffi:mem-aref wch 'wchar_t i) 0))

This would probably work:

> Do you have an idea of what might have changed in the new 6.2
> function definition that affects how the functions works when
> called through a FFI?

It's probably the issue reported last month, fixed here:

https://lists.gnu.org/archive/html/bug-ncurses/2020-03/msg00017.html

(a small patch, in case you like to apply fixes)

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]