[Fedora-i18n-bugs] [Bug 537753] New: glibc: wcscoll/strcoll needs to check if the char is out of the locale collation.
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: glibc: wcscoll/strcoll needs to check if the char is out of the locale collation.
https://bugzilla.redhat.com/show_bug.cgi?id=537753
Summary: glibc: wcscoll/strcoll needs to check if the char is
out of the locale collation.
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: glibc
AssignedTo: schwab(a)redhat.com
ReportedBy: tfujiwar(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: jakub(a)redhat.com, fedora-i18n-bugs(a)redhat.com,
schwab(a)redhat.com
Estimated Hours: 0.0
Classification: Fedora
Target Release: ---
Created an attachment (id=369656)
--> (https://bugzilla.redhat.com/attachment.cgi?id=369656)
Example test case
Currently I'm thinking how to sort UTF-8 strings on GNOME/GDM.
GDM uses g_utf8_collate() to sort the language names.
http://git.gnome.org./cgit/glib/tree/glib/gunicollate.c
g_utf8_collate() uses wcscoll() internally.
----------------------------
70:gint
71: g_utf8_collate (const gchar *str1,
72: const gchar *str2)
73:{
...
109: result = wcscoll ((wchar_t *)str1_norm, (wchar_t *)str2_norm);
...
154:}
----------------------------
However if the chars are not defined in the locale collation, the returned
value is not correct.
I'm attaching the test program.
You could see the returned value is not correct on ja_JP.UTF-8.
Now I think it's better to set errno if the char is not defined in the
collation.
Regarding to WCSCOLL(3P):
----------------------------
RETURN VALUE
On error, wcscoll() shall set
errno, but no return value is reserved to indicate an error.
ERRORS
The wcscoll() function may fail if:
EINVAL The ws1 or ws2 arguments contain wide-character codes outside
the domain of the collating sequence.
----------------------------
If wcscoll/strcoll/wscxfrm/strxfrm would set errno, I could enhance
g_utf8_collate(_key) later.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 10 months
[Fedora-i18n-bugs] [Bug 603632] Review Request: typemade-josefinsansstd-light-fonts - This typeface was to made for geometric, elegant titling and kind of vintage
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603632
Pravin Satpute <psatpute(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |fedora-review+
--- Comment #11 from Pravin Satpute <psatpute(a)redhat.com> 2010-07-01 00:57:11 EDT ---
1) please drop EULA from spec file
+ package builds in mock (rawhide i686).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=2285029
+ rpmlint is silent for SRPM and for RPM.
typemade-josefinsansstd-light-fonts.noarch: W: obsolete-not-provided
josefinsansstd-light-fonts
-> since obsoluted package built only in devel branch, no need for provides
here
typemade-josefinsansstd-light-fonts.src: W: no-buildroot-tag
-> this is not require now
+ source files match upstream url
22f58c425e0775e5234e53ec7bf94116 typemade-JosefinSansStdLight.zip
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ fonts scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Not a GUI application
+ Approved
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 10 months
[Fedora-i18n-bugs] [Bug 590612] New: [abrt] crash in ibus-anthy-1.2.0.20100115-1.fc12: engine.py:691:__update_anthy_convert_chars:IndexError: list index out of range
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [abrt] crash in ibus-anthy-1.2.0.20100115-1.fc12: engine.py:691:__update_anthy_convert_chars:IndexError: list index out of range
https://bugzilla.redhat.com/show_bug.cgi?id=590612
Summary: [abrt] crash in ibus-anthy-1.2.0.20100115-1.fc12:
engine.py:691:__update_anthy_convert_chars:IndexError:
list index out of range
Product: Fedora
Version: 12
Platform: i686
OS/Version: Linux
Status: NEW
Status Whiteboard: abrt_hash:8a0d316c
Severity: medium
Priority: low
Component: ibus-anthy
AssignedTo: tfujiwar(a)redhat.com
ReportedBy: tk01(a)mbd.nifty.com
QAContact: extras-qa(a)fedoraproject.org
CC: tagoh(a)redhat.com, tfujiwar(a)redhat.com,
phuang(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org
Classification: Fedora
abrt 1.0.9 detected a crash.
architecture: i686
cmdline: python /usr/share/ibus-anthy/engine/main.py --ibus
component: ibus-anthy
executable: /usr/share/ibus-anthy/engine/main.py
kernel: 2.6.32.9-70.fc12.i686
package: ibus-anthy-1.2.0.20100115-1.fc12
reason: engine.py:691:__update_anthy_convert_chars:IndexError: list index out
of range
release: Fedora release 12 (Constantine)
backtrace
-----
engine.py:691:__update_anthy_convert_chars:IndexError: list index out of range
Traceback (most recent call last):
File "/usr/share/ibus-anthy/engine/engine.py", line 706, in __update
self.__update_convert_chars()
File "/usr/share/ibus-anthy/engine/engine.py", line 628, in
__update_convert_chars
self.__update_anthy_convert_chars()
File "/usr/share/ibus-anthy/engine/engine.py", line 691, in
__update_anthy_convert_chars
pos, pos + len(self.__segments[self.__cursor_pos][1])))
IndexError: list index out of range
Local variables in innermost frame:
i: 0
text: u'\u5148\u751f\u3092'
self: <Engine object at 0xb5e5bc5c (PYIBusObject at 0x977c2a0)>
pos: 3
attrs: <AttrList object at 0xb5e6cf04 (PYIBusAttrList at 0x977c300)>
seg_index: 0
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years, 10 months