Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 18 Jul 2001 10:20:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Readdir Message-ID: <20010718102055.B730@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <911C684A29ACD311921800508B7293BA010A8A27 AT cnmail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <911C684A29ACD311921800508B7293BA010A8A27@cnmail>; from bradshaw@staff.crosswalk.com on Tue, Jul 17, 2001 at 06:28:37PM -0400 On Tue, Jul 17, 2001 at 06:28:37PM -0400, Mark Bradshaw wrote: > Here's my monthly "I must be an idiot" question. > > I'm looking at the code in the cygwin source for readdir > (/usr/src/cgwin-1.3.2-1/newlib/libc/posix/readdir.c). It's referencing > members of the DIR structure that I'll be darned if I can find in my > dirent.h file (/usr/include/sys/dirent.h). > > The code is referencing dd_loc, dd_buf, dd_size, and dd_len (among others) > which don't seem to be valid DIR members. Am I looking at the wrong source > and/or the wrong header? It's in the mingw/dirent.h header. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/