Bug 113755 - editors/tamago does not work with FreeWnn-server on 64-bit emacs.
Summary: editors/tamago does not work with FreeWnn-server on 64-bit emacs.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey Slusar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 17:10 UTC by Nobuhiro Ban
Modified: 2007-06-22 19:50 UTC (History)
0 users

See Also:


Attachments
file.diff (570 bytes, patch)
2007-06-16 17:10 UTC, Nobuhiro Ban
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nobuhiro Ban 2007-06-16 17:10:02 UTC
tamago does not work with FreeWnn-server on 64bit-emacs.

When I try converting hiragana to kanji by tamago (using FreeWnn
jserver), I get ``cannot connect to the server'' error (in Japanese).

It seems that some code assume comm-unpack-u32 returns -1 when read
FF FF FF FF. But this procedure return 4294967295 (2^32 - 1) on
64bit-emacs.

  64bit-emacs
  (+ (lsh 255 24) (lsh 255 16) (lsh 255 8) 255)
  => 4294967295

  32bit-emacs
  (+ (lsh 255 24) (lsh 255 16) (lsh 255 8) 255)
  => -1

Fix: try this patch:
How-To-Repeat: always with 64-bit emacs and FreeWnn.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-16 23:47:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anray

anray@ wants to have elisp PRs
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-06-22 19:43:52 UTC
anray       2007-06-22 18:43:45 UTC

  FreeBSD ports repository

  Modified files:
    editors/tamago       Makefile 
  Added files:
    editors/tamago/files patch-wnnrpc.el 
  Log:
  Fix works on FreeWnn-server and 64bit-emacs.
  
  PR:             ports/113755
  Submitted by:   Nobuhiro Ban <ban.nobuhiro@gmail.com>
  
  Revision  Changes    Path
  1.32      +1 -0      ports/editors/tamago/Makefile
  1.1       +21 -0     ports/editors/tamago/files/patch-wnnrpc.el (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Andrey Slusar freebsd_committer freebsd_triage 2007-06-22 19:44:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!