diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-02 13:15:39 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2011-07-02 13:15:39 +0000 |
commit | e541d7720012523462551ad2689e6925fb7d061d (patch) | |
tree | 5c855f7e74f57da6b7aa5064f72bf288b37cfd29 /japanese/skkserv/files | |
parent | 860da3eb61a4097121235e5cee664922e7ac2a68 (diff) | |
download | ports-e541d7720012523462551ad2689e6925fb7d061d.tar.gz ports-e541d7720012523462551ad2689e6925fb7d061d.zip |
Notes
Diffstat (limited to 'japanese/skkserv/files')
-rw-r--r-- | japanese/skkserv/files/patch-skkserv.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/japanese/skkserv/files/patch-skkserv.c b/japanese/skkserv/files/patch-skkserv.c index 0983a5d31cbb..92b3ad6e203a 100644 --- a/japanese/skkserv/files/patch-skkserv.c +++ b/japanese/skkserv/files/patch-skkserv.c @@ -1,5 +1,5 @@ --- skkserv/skkserv.c.orig 1997-01-21 04:16:36.000000000 +0900 -+++ skkserv/skkserv.c 2008-11-02 00:07:53.000000000 +0900 ++++ skkserv/skkserv.c 2011-07-02 22:05:16.000000000 +0900 @@ -124,6 +124,8 @@ int clientsock[MAXCLNT]; /* socket for each client */ int nclients; /* max index for active clients */ @@ -57,7 +57,18 @@ if (portnum == 0) { #ifdef PORTNUM portnum = PORTNUM; -@@ -476,7 +498,7 @@ +@@ -382,6 +404,10 @@ + code = KANA_END; + + while ((c = fgetc(jisho)) != EOF) { ++ if (c == '>') { ++ fgets(buf, BUFSIZE, jisho); ++ continue; ++ } + target = ((c & 0xff)<< 8) | (fgetc(jisho) & 0xff); + if (target == STRMARK) { + fgets(buf, BUFSIZE, jisho); +@@ -476,7 +502,7 @@ if (FD_ISSET(initsock, &readfds)) { len = sizeof(from); |