SOURCES: pwdutils.login.defs - fix locale issue

Radoslaw Zielinski radek at karnet.pl
Tue Nov 30 13:26:50 CET 2004


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,

> write all letters out like Thorsten said in 
> http://lists.suse.com/archive/pwdutils/2004-Nov/0008.html

...this is the proper workaround.

-- 
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/56b04a87/attachment-0002.bin


More information about the pld-devel-en mailing list