From 5c9d7a42fcebbd5ad207cc9cdc707f22783beb17 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Aug 2010 18:55:25 +0000 Subject: [PATCH] * include/sys/dirent.h (d_fileno): Define as d_ino. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/sys/dirent.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7cd707797..b58eef2bc 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2010-08-06 Corinna Vinschen + + * include/sys/dirent.h (d_fileno): Define as d_ino. + 2010-08-04 Corinna Vinschen * path.cc (cygwin_conv_path): Rearrange test for "." in POSIX to diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h index 3d441a20c..70a9e63b1 100644 --- a/winsup/cygwin/include/sys/dirent.h +++ b/winsup/cygwin/include/sys/dirent.h @@ -29,6 +29,8 @@ struct dirent }; #pragma pack(pop) +#define d_fileno d_ino /* BSD compatible definition */ + #define __DIRENT_COOKIE 0xdede4242 #pragma pack(push,4)