[PATCH 2/2] Cygwin: implement case-insensitive Unicode user and group name matching

Darren Tucker dtucker at dtucker.net
Fri Feb 22 15:32:43 AEDT 2019


On Wed, 20 Feb 2019 at 23:54, Corinna Vinschen <vinschen at redhat.com> wrote:
> The previous revert enabled case-insensitive user names again.  This
> patch implements the case-insensitive user and group name matching.
> To allow Unicode chars, implement the matcher using wchar_t chars in
> Cygwin-specific code.  Keep the generic code changes as small as possible.
> Cygwin: implement case-insensitive Unicode user and group name matching

Applied, thanks.

I think it might be possible to make this less intrusive by adding a
match_user_pattern_list() function that just calls match_pattern_list
on Unix-alikes and the Cygwin specific function there.  I'll take a
look.


--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list