FS#71506 - [hexchat] cffi patches and binding introduce errors
Attached to Project:
Community Packages
Opened by MK (MK91) - Wednesday, 14 July 2021, 14:06 GMT
Last edited by Christian Hesse (eworm) - Thursday, 15 July 2021, 21:36 GMT
Opened by MK (MK91) - Wednesday, 14 July 2021, 14:06 GMT
Last edited by Christian Hesse (eworm) - Thursday, 15 July 2021, 21:36 GMT
|
Details
Description:
Your 0001-python-cffi.patch introduces the following errors. When I execute the attached python addon and I write just a single word, it won't get passed on to the python code by the cffi binding glue. this is caused by the following line in the patch: 3619 +# There can be empty entries between non-empty ones so find the actual last value +def wordlist_len(words): + for i in range(31, 1, -1): ####### ARCH BUG REPORT: RIGHT HERE <-must be range(31, 0, -1) + if ffi.string(words[i]): + return i + This was fixed on May 28, by Alexandre Jousset in upstream. I compiled upstream (master) source no problem today, so a simple change in this patch will fix this bug until a new version is released. Additional info: Version : 2.14.3-8 Architecture : x86_64 Steps to reproduce: load script, write word regards |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 15 July 2021, 21:36 GMT
Reason for closing: Fixed
Additional comments about closing: hexchat 2.14.3-9
Thursday, 15 July 2021, 21:36 GMT
Reason for closing: Fixed
Additional comments about closing: hexchat 2.14.3-9
https://github.com/hexchat/hexchat/commit/734d888210dc2863fbcd37c408102460476623bb