Roland Mainz wrote:
> Hi!
> 
> ----
> 
> Does anyone know who owns (or wrote)
> http://www.opensolaris.org/os/community/security/library/long_usernames/

I wrote it.

> ? AFAIK it may be nice to correct the part which says the limit is 8
> _characters_ - currently the limit is 8 _bytes_ (which leads to the
> upcoming project proposal for a project to allow users to use multibyte
> characters for user names (as result the limit needs to be increased to
> at least 32 bytes to store at least six multibyte characters (e.g.
> (32-1) / MB_LEN_MAX), however in real-world scenarious more multibyte
> characters will fit into 32 bytes since not all characters consume
> |MB_LEN_MAX| bytes)) and utmpx stores up to 32 bytes.

Fixed.

-- 
Darren J Moffat

Reply via email to