delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/18/22:41:08

X-Spam-Check-By: sourceware.org
Message-ID: <43A62BC0.4030102@cygwin.com>
Date: Sun, 18 Dec 2005 22:40:48 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
CC: cygwin AT cygwin DOT com
Subject: Re: Call for testing Cygwin snapshot (d_ino)
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0512182342000 DOT 5548-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
In-Reply-To: <Pine.OSF.4.21.0512182342000.5548-100000@ax0rm1.roma1.infn.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Angelo Graziosi wrote:
> I wrote:
> 
> 
>>The code that causes this error should be :
>>
>>-------------------------------------------
>>#if defined(_POSIX_SOURCE)
>>// Posix does not require that the d_ino field be present, and some
>>// systems do not provide it.
>>#   define REAL_DIR_ENTRY(dp) 1
>>#else
>>#   define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
>>#endif
>>-------------------------------------------
> 
> 
> 
> Christopher Faylor wrote:
> 
> 
> 
>>No.  In fact, I'll change that field to "__invalid_d_ino" just to
>>make it clearer that there is nothing there.
>>
>>You should not be using it at all
> 
> 
> 
> Then , I should use : 
> 
>      #   define REAL_DIR_ENTRY(dp) 1
> 
> ?
> 
> (i.e. as    #if defined(_POSIX_SOURCE)  section of the above code?)


AFAICS, ROOT uses configure to determine the available capabilities.  So
just rerun configure as recommended by the provided package docs.  Doing
so should result in d_ino not being found and appropriate actions/settings
made.  If that's not the case, you want to contact the ROOT maintainer.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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