Woops... I'll start again :)
Bug :
http://defect.opensolaris.org/bz/show_bug.cgi?id=1082
Webrev :
http://cr.opensolaris.org/~mattman/1082-login-name/
Roland Mainz wrote:
>
> Note that the limit should really count in _characters_ and not _bytes_
> (to allow things like "Schr?der" as login-name (which usually works in
> matching multibyte locales like en_US.UTF-8 except for a few utilities))
> ; the current upper limit is 32 _bytes_.
>
I just do a simply strlen(), which counts characters AFAIK ?
Matt