X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: struct passwd problem : running on XP Date: Mon, 15 Jan 2007 18:00:47 -0000 Message-ID: <026701c738cf$15a2e050$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 15 January 2007 17:12, DEMARCHE wrote: > It seems like the /etc/passwd file struct is not compliant with the C struct > password ( as defined in pwd.h ). > May be I'm wrong, but the number of items doesn't correspond to each other. > > May be I'm worng but I think that the gcc compiler is not able to parse each > items. > I thank you for all details and explanations. I think if you call the appropriate library function (getpwent IIRC?) it'll take care of the conversion for you. Otherwise, http://cygwin.com/acronyms#PPAST! cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/