* Readdir
@ 2001-07-17 15:28 Mark Bradshaw
2001-07-18 1:22 ` Readdir Corinna Vinschen
0 siblings, 1 reply; 6+ messages in thread
From: Mark Bradshaw @ 2001-07-17 15:28 UTC (permalink / raw)
To: cygwin
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?
Mark
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Readdir
2001-07-17 15:28 Readdir Mark Bradshaw
@ 2001-07-18 1:22 ` Corinna Vinschen
2001-07-18 9:10 ` Readdir Christopher Faylor
0 siblings, 1 reply; 6+ messages in thread
From: Corinna Vinschen @ 2001-07-18 1:22 UTC (permalink / raw)
To: cygwin
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@cygwin.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Readdir
2001-07-18 1:22 ` Readdir Corinna Vinschen
@ 2001-07-18 9:10 ` Christopher Faylor
0 siblings, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2001-07-18 9:10 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Readdir
@ 2001-07-18 9:24 Mark Bradshaw
0 siblings, 0 replies; 6+ messages in thread
From: Mark Bradshaw @ 2001-07-18 9:24 UTC (permalink / raw)
To: 'cygwin@cygwin.com'
Ah. That would explain then, wouldn't it. <grin> Can you point out where
the readdir code is in the cygwin source?
Mark
-----Original Message-----
From: Christopher Faylor [ mailto:cgf@redhat.com ]
Sent: Wednesday, July 18, 2001 12:10 PM
To: cygwin@cygwin.com
Subject: 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/
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Readdir
@ 2001-07-18 9:52 Mark Bradshaw
2001-07-18 10:36 ` Readdir Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 6+ messages in thread
From: Mark Bradshaw @ 2001-07-18 9:52 UTC (permalink / raw)
To: Mark Bradshaw, 'cygwin@cygwin.com'
I've found code for readdir in winsup/cygwin/dir.cc. Can you confirm that
this is the correct code?
-----Original Message-----
From: Mark Bradshaw
Sent: Wednesday, July 18, 2001 12:25 PM
To: 'cygwin@cygwin.com'
Subject: RE: Readdir
Ah. That would explain then, wouldn't it. <grin> Can you point out where
the readdir code is in the cygwin source?
Mark
-----Original Message-----
From: Christopher Faylor [ mailto:cgf@redhat.com ]
Sent: Wednesday, July 18, 2001 12:10 PM
To: cygwin@cygwin.com
Subject: 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/
--
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/
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Readdir
2001-07-18 9:52 Readdir Mark Bradshaw
@ 2001-07-18 10:36 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-07-18 10:36 UTC (permalink / raw)
To: Mark Bradshaw, Mark Bradshaw, 'cygwin@cygwin.com'
Yes, that's the readdir() Cygwin uses/provides.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
At 12:52 PM 7/18/2001, Mark Bradshaw wrote:
>I've found code for readdir in winsup/cygwin/dir.cc. Can you confirm that
>this is the correct code?
>
>-----Original Message-----
>From: Mark Bradshaw
>Sent: Wednesday, July 18, 2001 12:25 PM
>To: 'cygwin@cygwin.com'
>Subject: RE: Readdir
>
>
>Ah. That would explain then, wouldn't it. <grin> Can you point out where
>the readdir code is in the cygwin source?
>
>Mark
>
>-----Original Message-----
>From: Christopher Faylor [ mailto:cgf@redhat.com ]
>Sent: Wednesday, July 18, 2001 12:10 PM
>To: cygwin@cygwin.com
>Subject: 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/
>
>--
>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/
>
>--
>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/
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-07-18 10:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 15:28 Readdir Mark Bradshaw
2001-07-18 1:22 ` Readdir Corinna Vinschen
2001-07-18 9:10 ` Readdir Christopher Faylor
2001-07-18 9:24 Readdir Mark Bradshaw
2001-07-18 9:52 Readdir Mark Bradshaw
2001-07-18 10:36 ` Readdir Larry Hall (RFK Partners, Inc)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).