* uinfo.cc (cygheap_pwdgrp::nss_init_line): Explicitely ignore a colon
as separator char.
This commit is contained in:
parent
6a7a80d83c
commit
5f51881a6d
|
@ -1,3 +1,8 @@
|
||||||
|
2014-02-12 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* uinfo.cc (cygheap_pwdgrp::nss_init_line): Explicitely ignore a colon
|
||||||
|
as separator char.
|
||||||
|
|
||||||
2014-02-11 Christopher Faylor <me.cygwin2014@cgf.cx>
|
2014-02-11 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
* winsup.h: Turn off previous workaround but leave a comment.
|
* winsup.h: Turn off previous workaround but leave a comment.
|
||||||
|
|
|
@ -646,7 +646,7 @@ cygheap_pwdgrp::nss_init_line (const char *line)
|
||||||
{
|
{
|
||||||
c += 10;
|
c += 10;
|
||||||
c += strspn (c, " \t");
|
c += strspn (c, " \t");
|
||||||
if ((unsigned char) *c <= 0x7f && strchr (" \t", c[1]))
|
if ((unsigned char) *c <= 0x7f && *c != ':' && strchr (" \t", c[1]))
|
||||||
separator[0] = (unsigned char) *c;
|
separator[0] = (unsigned char) *c;
|
||||||
else
|
else
|
||||||
debug_printf ("Invalid nsswitch.conf content: %s", line);
|
debug_printf ("Invalid nsswitch.conf content: %s", line);
|
||||||
|
|
Loading…
Reference in New Issue