delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/13:38:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010718133446.02157940@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 18 Jul 2001 13:35:39 -0400
To: Mark Bradshaw <bradshaw AT staff DOT crosswalk DOT com>,
Mark Bradshaw <bradshaw AT staff DOT crosswalk DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: RE: Readdir
In-Reply-To: <911C684A29ACD311921800508B7293BA010A8A33@cnmail>
Mime-Version: 1.0

Yes, that's the readdir() Cygwin uses/provides.

Larry Hall                              lhall AT rfk DOT 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 AT cygwin DOT 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 AT redhat DOT com]
>Sent: Wednesday, July 18, 2001 12:10 PM
>To: cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019