SOURCES: pwdutils.login.defs - fix locale issue
Radoslaw Zielinski
radek at karnet.pl
Tue Nov 30 01:23:44 CET 2004
In pld.cvs.commit you wrote:
> Author: glen Date: Mon Nov 29 10:29:25 2004 GMT
> Module: SOURCES Tag: HEAD
> ---- Log message:
> - fix locale issue
[...]
> +# Address this issue:
> +# http://lists.suse.com/archive/pwdutils/2004-Nov/0003.html
> +CHARACTER_CLASS [[:alpha:]_][[:alnum:]_.-]*[[:alnum:]_.$-]\?
This is wrong. As you were told on that mailing list, [:alpha:] is too
wide. Group names must not contain characters, which fit in this class.
It is designed to be locale-dependent, while the constraint on how
should a valid group name look like is not.
In my opinion, [a-z] should always mean 26 characters, regardless of any
locale settings; if it doesn't, it's a bug. So, you're fixing the issue
in the wrong place.
--
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/373c3c70/attachment-0002.bin
More information about the pld-devel-en
mailing list