aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-12-10 23:25:24 +0000
committerChristopher Faylor <me@cgf.cx>2005-12-10 23:25:24 +0000
commit9b020020eceaf32af640283992ea9c16aa4bd3c2 (patch)
tree3475eda6cccfff722ce617f9c87f13779f96fe07 /winsup
parent3ab689126c4e0e0f782d5809db69d231d4e9485e (diff)
downloadnewlib-9b020020eceaf32af640283992ea9c16aa4bd3c2.zip
newlib-9b020020eceaf32af640283992ea9c16aa4bd3c2.tar.gz
newlib-9b020020eceaf32af640283992ea9c16aa4bd3c2.tar.bz2
* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/sys/dirent.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7886e4d..ca73d28 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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.
@@ -129,6 +133,7 @@
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>
diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h
index 50cde28..c53650a 100644
--- a/winsup/cygwin/include/sys/dirent.h
+++ b/winsup/cygwin/include/sys/dirent.h
@@ -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