This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Update of localedata/locales/th_TH


NIIBE Yutaka <gniibe@chroot.org> writes:

> Theppitak Karoonboonyanan kindly send me the update (and re-licensed
> version) of locales/th_TH.

Thanks.  But I can use only the copyright change part of the patch.

> @@ -54,11 +68,8 @@
>  % digit = Arabic digits  + Thai digits
>  %
>  digit   <zero>;<one>;<two>;<three>;<four>;/
> -        <five>;<six>;<seven>;<eight>;<nine>
> -% The Thai digits
> -%       <th240>;...;<th249>
> -% cannot be listed here.  In glibc 2.2 they'll be in indigits and
> -% possibly outdigits.
> +        <five>;<six>;<seven>;<eight>;<nine>;/
> +        <th240>;...;<th249>

As the comment you are removing explains, adding the thai digits for
isdigit() is a bad idea.  This will break a lot of programs.

For this reason the locale information was extended and we now have
extra information where additional digit sets can be listed.  I'll
make sure the thai digits are added there appropriately.

> @@ -71,7 +82,7 @@
>          <form-feed>;<carriage-return>;/
>          <NUL>;<SOH>;<STX>;<ETX>;<EOT>;<ENQ>;<ACK>;<SO>;<SI>;/
>          <DLE>;<DC1>;<DC2>;<DC3>;<DC4>;<NAK>;<SYN>;<ETB>;<CAN>;/
> -        <EM>;<SUB>;<ESC>;<IS4>;<IS3>;<IS2>;<IS1>;<DEL>
> +        <EM>;<SUB>;<ESC>;<IS4>;<IS3>;<IS2>;<IS1>;<DEL>;

There must be no semicolon at the end of the line.

Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]