Problem with COMBINING GREEK YPOGEGRAMMENI

Bug #1744896 reported by Michael72
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dictd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Version: 1.12.1+dfsg-4

Dear Maintainer,

to better explain, I attached the dictionary received by utility dictfmt
(grk-rus_strong.tar.gz). The dictionary is received on a command:

cat "$USERDATA_PATH/grk-rus_strong.html" | sudo dictfmt -e -u
"http://michael72.radiushosting.ru/UPRAVLEN/DICT.shtml?td"; -s
"Греческо-русский лексикон Нового Завета" --utf8 --columns
0 --index-keep-orig --headword-separator / grk-rus_strong

In the index file of this database at line No.8, you can see the essence of the problem. Diacritic COMBINING GREEK YPOGEGRAMMENI (U+0345) stayed. This database index file does not contain a special header: 00-database-allchars, that indicates that the database assumes such search when using only alphabetic characters, digits and a space, but the character U+0345 is not included in this category.
In General, the essence of the problem is that the diacritical mark U+0345 COMBINING GREEK YPOGEGRAMMENI is perceived by dictfmt as an alphanumeric character.

For solving this problem I want to suggest my patch:

----------------------------------------------------------------
--- a/iswalnum.c 2015-03-24 08:27:08.133782584 +0300
+++ b/iswalnum.c 2015-03-24 08:20:31.846782845 +0300
@@ -4,7 +4,7 @@
      0,
     48, 65, 97, 170, 181, 186, 192, 216,
    248, 546, 592, 688, 699, 720, 736, 750,
- 837, 890, 902, 904, 908, 910, 931, 976,
+ 890, 902, 904, 908, 910, 931, 976,
    986, 1024, 1164, 1223, 1227, 1232, 1272, 1329,
   1369, 1377, 1488, 1520, 1569, 1600, 1632, 1649,
   1749, 1765, 1776, 1808, 1810, 1920, 2309, 2365,
@@ -50,7 +50,7 @@
      0,
     10, 26, 26, 1, 1, 1, 23, 31,
    296, 18, 94, 9, 7, 2, 5, 1,
- 1, 1, 1, 3, 1, 20, 44, 8,
+ 1, 1, 3, 1, 20, 44, 8,
     28, 130, 57, 2, 2, 38, 2, 38,
      1, 39, 27, 3, 26, 11, 10, 99,
      1, 2, 13, 1, 27, 38, 53, 1,
----------------------------------------------------------------

Tags: patch
Revision history for this message
Michael72 (michael1972) wrote :
Michael72 (michael1972)
description: updated
Revision history for this message
Michael72 (michael1972) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dictd - 1.12.1+dfsg-8

---------------
dictd (1.12.1+dfsg-8) unstable; urgency=medium

  * Ignore errors of update-inetd --disable/--remove, as update-inetd has
    recently stared failing on missing /etc/inetd.conf (closes: #906420).
    This is not done for --add/--enable, basing on the assumption that if
    user selects inetd-mode only if inetd is already installed.
  * Standards-Version: 4.2.0.

 -- Robert Luberda <email address hidden> Sun, 19 Aug 2018 11:33:26 +0200

Changed in dictd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.