[email protected]
[Top] [All Lists]

Bug#318531: marked as forwarded (edict-fpw: FTBFS: fpwedict: too long wo

Subject: Bug#318531: marked as forwarded edict-fpw: FTBFS: fpwedict: too long word
From: Debian Bug Tracking System
Date: Mon, 19 Jun 2006 23:48:31 -0700
Your message dated Tue, 20 Jun 2006 08:38:48 +0200
with message-id <[email protected]>
has caused the Debian Bug report #318531,
regarding edict-fpw: FTBFS: fpwedict: too long word
to be marked as having been forwarded to the upstream software
author(s) Motoyuki Kasahara <[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: FreePWING: increasing the word length limit
From: Matej Vela
Date: Tue, 20 Jun 2006 08:38:48 +0200

We're having trouble formatting the current version of EDICT with
edict-fpw.  Several entries exceed the word length limit of 255 bytes
enforced by FreePWING::BaseWord:

    `the "three no principle" of no drive (indolence), no interest
    (indifference), and no sense of responsibility (irresponsibility),
    the term describing the temperament of the japanese youth of the
    1970s' (342 bytes encoded)

    `the general term for the large number of scholars and
    controversialists, and their respective schools, that flourished
    during the spring and autumn period and the warring states period in
    chinese history' (346 bytes encoded)

    `the system in government offices and business corporations in which
    draft proposals are prepared by someone in charge of the matter and
    circulated for collective deliberation and final approval by
    particular (designated) officials or executives' (420 bytes encoded)

Is 255 a limit imposed by the format, or just an arbitrary precation?
If the latter, could you increase it to 512?

--- freepwing-1.4.4.orig/src/BaseWord.pm
+++ freepwing-1.4.4/src/BaseWord.pm
@@ -38,7 +38,7 @@
 # ñ¸ì¤ÎºÇÂçĹ¡£
-$max_word_length = 255;
+$max_word_length = 512;
 # ñ¸ì¤Î½ñ¤­¹þ¤ßÊý¸þ
@@ -250,7 +250,7 @@
        return 0;
-    if (255 < length($fixed_word)) {
+    if (512 < length($fixed_word)) {
        $self->{'error_message'} = "too long word";
        return 0;



--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#318531: marked as forwarded (edict-fpw: FTBFS: fpwedict: too long word), Debian Bug Tracking System <=