generating /etc/passwd and /etc/group for domians with users with cyrillic names
egor duda
deo@logos-m.ru
Mon Apr 9 11:42:00 GMT 2001
Hi!
currently, mkpasswd and mkgroup print garbage if user name or group
name contains cyrillic symbols. attached patch fixes that.
egor. mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
mkpasswd-unicode-convertion.diff
mkpasswd-unicode-convertion.ChangeLog
-------------- next part --------------
2001-04-09 Egor Duda <deo@logos-m.ru>
* 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: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010409/7dfed6ef/attachment.bin>
More information about the Cygwin-patches
mailing list