X-Spam-Check-By: sourceware.org Date: Sun, 18 Dec 2005 23:49:08 +0100 (MET) From: Angelo Graziosi To: cygwin AT cygwin DOT com Subject: Re: Call for testing Cygwin snapshot (d_ino) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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?) Thanks, Angelo. -- 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/