diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-09 00:21:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-09 00:21:16 +0000 |
commit | 51d340e1c801b82e5e8b58b48639d46681d33f4c (patch) | |
tree | cdbd0b7da1de7f1d289d95d4ccbf4b589850279c /winsup/cygwin/include/sys/dirent.h | |
parent | 7d0e78a71b36e454b195145e4774cefcc3163225 (diff) | |
download | cygnal-51d340e1c801b82e5e8b58b48639d46681d33f4c.tar.gz cygnal-51d340e1c801b82e5e8b58b48639d46681d33f4c.tar.bz2 cygnal-51d340e1c801b82e5e8b58b48639d46681d33f4c.zip |
* dir.cc (readdir): Reinstate setting of old ino field for legacy applications.
* dirent.h (dirent): Rename unused field to __ino32.
* passwd.cc (getpwnam_r): Initialize pw_comment field.
Diffstat (limited to 'winsup/cygwin/include/sys/dirent.h')
-rw-r--r-- | winsup/cygwin/include/sys/dirent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h index 1e6996f87..c3d77c4fb 100644 --- a/winsup/cygwin/include/sys/dirent.h +++ b/winsup/cygwin/include/sys/dirent.h @@ -23,7 +23,7 @@ struct dirent __ino64_t d_ino; /* still junk but with more bits */ long d_fd; /* File descriptor of open directory. Used since Cygwin 1.3.3. */ - unsigned __flags; /* Used internally. */ + unsigned __ino32; char d_name[256]; /* FIXME: use NAME_MAX? */ }; #else @@ -33,7 +33,7 @@ struct dirent long d_version; ino_t d_ino; long d_fd; - unsigned long __unused; + unsigned long __ino32; char d_name[256]; }; #else |