This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Readdir


On Wed, Jul 18, 2001 at 10:20:55AM +0200, Corinna Vinschen wrote:
>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.

Actually, cygwin doesn't use the readdir.c in newlib.  It has its
own implementation.  I don't think that the one in newlib is
related to mingw.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]