Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <779F20BCCE5AD31186A50008C75D99791716CD@SILLDN_MAIL1> From: "Fifer, Eric" To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: pw_comment Date: Mon, 31 Jan 2000 11:30:01 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" I've been seeing a minor problem where sometimes the pw_comment member of struct passwd is not NULL. I know pw_comment is not used, but nevertheless it does appear in struct passwd. Anyways, this fixes the problem: --- winsup/cygwin/passwd.cc- Wed Oct 20 02:54:06 1999 +++ winsup/cygwin/passwd.cc Mon Jan 31 11:13:34 2000 @@ -82,6 +82,7 @@ res.pw_passwd = grab_string (&mybuf); res.pw_uid = grab_int (&mybuf); res.pw_gid = grab_int (&mybuf); + res.pw_comment = 0; res.pw_gecos = grab_string (&mybuf); res.pw_dir = grab_string (&mybuf); res.pw_shell = grab_string (&mybuf); Thanks. Eric Fifer