xchat was crashing on sparc every time it received a CTCP version command because kstat does not include ncpu_per_chip on sparc. The updated patch counts the number of cpu_info nodes instead.
Tested on sparc and x86. Laca -------------- next part -------------- A non-text attachment was scrubbed... Name: xchat-04-ctcp-version.diff Type: text/x-patch Size: 2310 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20100102/2920edf4/attachment.bin>
