Date: Sun, 19 Jun 2005 02:12:49 +0900 (JST) From: Yoshihiko Sarumaru <mistral@imasy.or.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82394: patch: ports/japanese/ircII: make friendly with the `madoka' IRC proxy Message-ID: <200506181712.j5IHCnpr029119@shimako.yamayuri.org> Resent-Message-ID: <200506181720.j5IHK8ms044479@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82394 >Category: ports >Synopsis: patch: ports/japanese/ircII: make friendly with the `madoka' IRC proxy >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 18 17:20:08 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yoshihiko Sarumaru >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD shimako.yamayuri.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun May 22 21:09:48 JST 2005 sarumaru@shimako.yamayuri.org:/backup/tmp/usr/obj/usr/src/sys/Z505VRK i386 >Description: An IRC client included in japanese/ircII sometimes sends IRC commands (such as PART) with trailing space character. Almost IRC servers seems just ignore this trailing space, but `madoka' IRC proxy server doesn't ignore this space and assume that is a part of channel name, then PART command failed with no such channel. >How-To-Repeat: >Fix: This patch chops trailing space. Add this patch to files/patch-source::edit.c --- source/server.c.orig Sun Jun 19 01:34:12 2005 +++ source/server.c Sun Mar 20 00:41:53 2005 @@ -1552,6 +1552,8 @@ arg6, arg7, arg8, arg9, arg10); #endif Euc2Jis(buffer, buffer2); + if (buffer2[strlen(buffer2) - 1] == ' ') + buffer2[strlen(buffer2) - 1] = '\0'; len = strlen(buffer2); if (len > (IRCD_BUFFER_SIZE - 2)) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506181712.j5IHCnpr029119>