From b475fe549740181baa5812af7534613f36e555b0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 5 Apr 2012 10:16:09 +0000 Subject: [PATCH] * passwd.cc (pwdgrp::read_passwd): Fix pretty_ls entry tyo contain the required number of colons. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/passwd.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ();