OSDN Git Service

* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
authorcgf <cgf>
Sat, 10 Dec 2005 23:25:23 +0000 (23:25 +0000)
committercgf <cgf>
Sat, 10 Dec 2005 23:25:23 +0000 (23:25 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/sys/dirent.h

index 7886e4d..ca73d28 100644 (file)
@@ -1,5 +1,9 @@
 2005-12-10  Christopher Faylor  <cgf@timesys.com>
 
+       * dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
+
+2005-12-10  Christopher Faylor  <cgf@timesys.com>
+
        * malloc.cc: Update to version 2.8.3.
        * cygmalloc.h (MSPACE): Remove unneeded definition.
 
        obsolescence of d_ino.
        (CYGWIN_VERSION_USER_API_VERSION_COMBINED): New convenience macro.
        (CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): New convenience macro.
+       * include/sys/dirent.h: Change d_ino field to __deprecated_d_ino.
 
 2005-12-05  Christopher Faylor  <cgf@timesys.com>
 
index 50cde28..c53650a 100644 (file)
@@ -1,6 +1,6 @@
 /* Posix dirent.h for WIN32.
 
-   Copyright 2001, 2002, 2003 Red Hat, Inc.
+   Copyright 2001, 2002, 2003, 2005 Red Hat, Inc.
 
    This software is a copyrighted work licensed under the terms of the
    Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
@@ -20,7 +20,7 @@
 struct dirent
 {
   long d_version;      /* Used since Cygwin 1.3.3. */
-  __ino64_t __deprecated_d_ino;        /* still junk but with more bits */
+  __ino64_t __deprecated_d_ino;
   long d_fd;           /* File descriptor of open directory.
                           Used since Cygwin 1.3.3. */
   unsigned __ino32;
@@ -31,7 +31,7 @@ struct dirent
 struct dirent
 {
   long d_version;
-  ino_t d_ino;
+  ino_t __deprecated_d_ino;
   long d_fd;
   unsigned long __ino32;
   char d_name[256];
@@ -42,7 +42,7 @@ struct dirent
   long d_version;
   long d_reserved[2];
   long d_fd;
-  ino_t d_ino;
+  ino_t __deprecated_d_ino;
   char d_name[256];
 };
 #endif