summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/passwd.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 2bbf5f6dc..b6786e575 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-05 Corinna Vinschen <corinna@vinschen.de>
+
+ * passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain
+ the required number of colons.
+
2012-04-04 Christopher Faylor <me.cygwin2012@cgf.cx>
* fhandler.h (fhandler_pty_common::bytes_available): Declare new
diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc
index 74b8020b8..6e012ed68 100644
--- a/winsup/cygwin/passwd.cc
+++ b/winsup/cygwin/passwd.cc
@@ -58,7 +58,7 @@ pwdgrp::read_passwd ()
bool searchentry = true;
struct passwd *pw;
/* must be static */
- static char NO_COPY pretty_ls[] = "????????:*:-1:-1:";
+ static char NO_COPY pretty_ls[] = "????????:*:-1:-1:::";
add_line (pretty_ls);
cygsid tu = cygheap->user.sid ();