Re: [PATCH 2/2] cygheap_pwdgrp: Don't keep old schemes when parsing nsswitch.conf

2020-04-17 Thread Corinna Vinschen
On Apr 17 11:31, David Macek via Cygwin-patches wrote: > The implicit assumption seemed to be that any subsequent occurence of > the same setting in nsswitch.conf is supposed to rewrite the previous > ones completely. This was not the case if the third or any further > schema was previously

[PATCH 2/2] cygheap_pwdgrp: Don't keep old schemes when parsing nsswitch.conf

2020-04-17 Thread David Macek via Cygwin-patches
The implicit assumption seemed to be that any subsequent occurence of the same setting in nsswitch.conf is supposed to rewrite the previous ones completely. This was not the case if the third or any further schema was previously defined and the last line defined less than that (but at least 2),