delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/06/10:51:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100806141140.GC31783@calimero.vinschen.de>
References: <AANLkTimghbyew2f+Q1fSTfpzv0cw7CrypX60vcW0Qgyb AT mail DOT gmail DOT com> <20100806134005 DOT GD22459 AT ednor DOT casa DOT cgf DOT cx> <20100806141140 DOT GC31783 AT calimero DOT vinschen DOT de>
Date: Fri, 6 Aug 2010 10:51:09 -0400
Message-ID: <AANLkTimnMASSuyv4mXtt3x8d=NZMg4y1DuCfT4Jr44Qt@mail.gmail.com>
Subject: Re: The dirent struct
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 6 August 2010 10:11, Corinna Vinschen wrote:
> On Aug =A06 09:40, Christopher Faylor wrote:
>> On Fri, Aug 06, 2010 at 09:33:41AM -0400, Chris Sutcliffe wrote:
>> >I assume d_fileno and d_reclen may be part of __d_unused1 or
>> >__d_internal1? =A0I'd appreciate some help here, since I'm not sure what
>> >to do at this point.
>>
>> No, they are not part of either of those fields. =A0If they were
>> they would be exposed.
>>
>> They simply are not implemented.
>
> And they don't have to. =A0Per POSIX, only d_ino and d_name can be
> expected by a portable application(*).

Fair enough, thankfully they are don't seem to be used by the code, so
I added an '#ifndef __CYGWIN__' around them and have managed to get by
this.

Thank you,

Chris

--=20
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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