SOURCES: pwdutils.login.defs - fix locale issue

Radoslaw Zielinski radek at karnet.pl
Tue Nov 30 15:16:03 CET 2004


Jakub Bogusz <qboosh at pld-linux.org> [30-11-2004 13:35]:
> On Tue, Nov 30, 2004 at 01:26:50PM +0100, Radoslaw Zielinski wrote:
>> Elan Ruusamäe <glen at delfi.ee> [30-11-2004 10:56]:
>>> On Tuesday 30 November 2004 02:23, Radoslaw Zielinski wrote:
>>>> In pld.cvs.commit you wrote:
>> [...]
>>>>> [[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\?
>>>> This is wrong.  As you were told on that mailing list, [:alpha:] is too
>> [...]
>>> i agree.
>>> how do you suggest to fix it, so the locale collation does not play role in 
>>> regex?
>>> force locale = C before regcomp() call?
>> As this shouldn't be locale dependent, until the bug is properly
>> resolved,
> regex functionality in libc is locale-dependent (uses LC_COLLATE).

For [a-z]?  It doesn't make sense...  What does this class contain in
Asian locales then, nothing?

-- 
Radosław Zieliński <radek at karnet.pl>
[ GPG key: http://radek.karnet.pl/ ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20041130/e9be3cfd/attachment-0002.bin


More information about the pld-devel-en mailing list