generating /etc/passwd and /etc/group for domians with users with cyrillic names

egor duda
Mon Apr 9 11:42:00 GMT 2001


  currently, mkpasswd and mkgroup print garbage if user name or group
name contains cyrillic symbols. attached patch fixes that.

egor.   icq 5165414 fidonet 2:5020/496.19

-------------- next part --------------
2001-04-09  Egor Duda  <>

	* mkgroup.c (uni2ansi): Use native method to convert from Unicode
	to multi-byte strings.
	* mkpasswd.c (uni2ansi): Ditto.
	(enum_local_groups): Pass buffer size when converting string.
	(enum_groups): Ditto.
	* mkpasswd.c (enum_users): Ditto.
	(enum_local_groups): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkpasswd-unicode-convertion.diff
Type: text/x-diff
Size: 3023 bytes
Desc: not available
URL: <>

More information about the Cygwin-patches mailing list