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 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Fri, 6 Aug 2010 09:33:41 -0400 Message-ID: Subject: The dirent struct From: Chris Sutcliffe To: The Cygwin Mailing List Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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'm well in to the process of porting rtorrent to Cygwin but I've hit a bit of a snag with the dirent struct. Namely: /usr/src/rtorrent/rtorrent-0.8.6-1/src/rtorrent-0.8.6/src/utils/directory.c= c:79: error: =91struct dirent=92 has no member named =91d_fileno=92 /usr/src/rtorrent/rtorrent-0.8.6-1/src/rtorrent-0.8.6/src/utils/directory.c= c:80: error: =91struct dirent=92 has no member named =91d_reclen=92 which sure enough, the Cygwin dirent struct does not: struct dirent { long __d_version; /* Used internally */ __ino64_t d_ino; unsigned char d_type; unsigned char __d_unused1[3]; __uint32_t __d_internal1; char d_name[NAME_MAX + 1]; }; I assume d_fileno and d_reclen may be part of __d_unused1 or __d_internal1? I'd appreciate some help here, since I'm not sure what to do at this point. 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