From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 8 00:03:24 2005 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2D2616A41F for ; Mon, 8 Aug 2005 00:03:23 +0000 (GMT) (envelope-from jay@codegurus.org) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78CF943D5D for ; Mon, 8 Aug 2005 00:03:23 +0000 (GMT) (envelope-from jay@codegurus.org) Received: from [84.92.156.191] (helo=[192.168.0.5]) by pih-relay04.plus.net with esmtp (Exim) id 1E1v6d-0006iH-Mz for freebsd-gnome@freebsd.org; Mon, 08 Aug 2005 01:03:03 +0100 Message-ID: <42F6A131.20200@codegurus.org> Date: Mon, 08 Aug 2005 01:02:57 +0100 From: Jayton Garnett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gyach 0.9.8 bug X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 00:03:24 -0000 Hello, Today I found a bug in the yahoo chat client gyach. It is not a major bug for most people, but for those who wish too add custom smileys it 'can' be. There are two ways around this. in ~/.yahoorc/gyach/emoticons you add a line like this: :!m finger.png and you place finger.png in /usr/X11R6/share/gyach/smileys The smiley will not appear in chat, the first work around is too rename finger.png too a two digit/letter name like 65.png or j1.png etc etc But there is another fix for this that the author of gyach emailed me. If you want to edit the source to fix this, you can edit util.c and look for this: void convert_smileys( char *str ) { char tmp[4097]; char sm_code[10]; Change sm_code[10]; to be sm_code[211]; That should allow filename lengths that are allowed in other places. void convert_smileys( char *str ) { char tmp[4097]; char sm_code[211]; Just in case you want too change the source code too correct this 'bug' Cheers, Jayton Garnett