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 + + * passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain + the required number of colons. + 2012-04-04 Christopher Faylor * 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 ();