d_ino deprecated in latest snapshot

Eric Blake ebb9@byu.net
Sat Dec 10 23:31:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Christopher Faylor on 12/10/2005 4:25 PM:
> 
> I'll make the change but have you completely given up on the concept of
> "a patch" now?  It seems like you could have tested this pretty easily
> by just making changes to the header and then rectified the behavior
> by submitting a patch.

2005-12-10  Eric Blake  <ebb9@byu.net>

	* include/sys/dirent.h (struct dirent): Deprecate d_ino member.


Index: cygwin/include/sys/dirent.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/sys/dirent.h,v
retrieving revision 1.8
diff -u -p -r1.8 dirent.h
- --- cygwin/include/sys/dirent.h 5 Dec 2005 21:02:53 -0000       1.8
+++ cygwin/include/sys/dirent.h 10 Dec 2005 23:31:00 -0000
@@ -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
@@ -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

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDm2Us84KuGfSFAYARArN0AJkBIjV9Bfa8SKIaPWua3vNg5zjkyACfbnIl
92NVWgVHnwItXoEHjCHq71M=
=uozg
-----END PGP SIGNATURE-----



More information about the Cygwin-patches mailing list