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: <20100806163925.GE31783@calimero.vinschen.de> References: <20100806134005 DOT GD22459 AT ednor DOT casa DOT cgf DOT cx> <20100806141140 DOT GC31783 AT calimero DOT vinschen DOT de> <20100806163925 DOT GE31783 AT calimero DOT vinschen DOT de> Date: Fri, 6 Aug 2010 12:45:51 -0400 Message-ID: Subject: Re: The dirent struct From: Chris Sutcliffe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 6 August 2010 12:39, Corinna Vinschen wrote: > On Aug =A06 10:51, Chris Sutcliffe wrote: >> On 6 August 2010 10:11, Corinna Vinschen wrote: >> > 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. > > Btw., d_fileno is just another old name for d_ino. =A0The Linux headers > defines it thus as `#define d_fileno d_ino'. =A0We can do the same in > Cygwin. =A0Maybe that minimizes some porting effort. Thank you for the tip about d_fileno. I've left it within the __CYGWIN__ guard for now and have successfully compiled rtorrent after a couple of other minor patches. I plan on testing rtorrent out when I get home this evening and all going well issue an ITP. Cheers! 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