Opened at 2014-04-17T14:08:38Z
Last modified at 2015-06-04T17:16:19Z
#1152 closed defect
nick_format broken on NetBSD (g_convert_with_fallback() always fails) — at Initial Version
Reported by: | harlos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BitlBee | Version: | 3.2.1 |
Keywords: | nick_format NetBSD patch | Cc: | |
IRC client+version: | Client-independent | Operating System: | NetBSD |
OS version/distro: | NetBSD 6.99.36 (evbarm) |
Description
NetBSD's implementation of iconv does not appear to support TRANSLIT. This means g_convert_with_fallback() called with TRANSLIT will always fail.
With "acc fb set nick_format %full_name" this silently fails and the normal handles are used as if nick_format was never set.
With "acc fb set nick_format fb-%full_name" the failure is more significant as nick_gen() produces "fb-" for all contacts and then the nicks are padded with underscores. Example (redacted columns): 10:05 <@harlos> blist 10:05 <@root> Nick 10:05 <@root> _ 10:05 <@root> fb- 10:05 <@root> fb-_ 10:05 <@root> l_
I think there are two solutions:
1) Use gnu iconv on NetBSD 2) Don't use TRANSLIT for NetBSD (This is what attached path does)
Change History (2)
Changed at 2014-04-17T14:10:25Z by
Attachment: | bitlbee-3.2.1-netbsd-g_convert_with_fallback-fix.patch added |
---|
Changed at 2014-04-19T19:31:58Z by
Attachment: | bitlbee-3.2.1-netbsd-g_convert_with_fallback-fix_r1.patch added |
---|