ports/82394: patch: ports/japanese/ircII: make friendly with the `madoka' IRC proxy
Yoshihiko Sarumaru
mistral at imasy.or.jp
Sat Jun 18 17:20:09 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list