[PATCH 3/3] Cygwin: accounts: Report unrecognized db_* nsswitch.conf keywords

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 3/3] Cygwin: accounts: Report unrecognized db_* nsswitch.conf keywords

cygwin-patches mailing list
Signed-off-by: David Macek <[hidden email]>
---
 winsup/cygwin/uinfo.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
index b733a6ee87..e105248c20 100644
--- a/winsup/cygwin/uinfo.cc
+++ b/winsup/cygwin/uinfo.cc
@@ -828,6 +828,8 @@ cygheap_pwdgrp::nss_init_line (const char *line)
   c += strspn (c, " \t");
  }
     }
+  else
+      debug_printf ("Invalid nsswitch.conf content: %s", line);
  }
       break;
     case '\0':
--
2.26.1.windows.1