* libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly) 64 bit
inodes.
This commit is contained in:
parent
066ca06fd0
commit
ec48a95394
@ -1,3 +1,8 @@
|
|||||||
|
2003-05-10 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
|
||||||
|
64 bit inodes.
|
||||||
|
|
||||||
2003-05-09 Corinna Vinschen <corinna@vinschen.de>
|
2003-05-09 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/include/sys/config.h: Remove all Cygwin specific configuration.
|
* libc/include/sys/config.h: Remove all Cygwin specific configuration.
|
||||||
|
@ -13,17 +13,19 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#define __DIRENT_VERSION 1
|
#define __DIRENT_VERSION 2
|
||||||
|
|
||||||
|
#pragma pack(push,4)
|
||||||
struct dirent
|
struct dirent
|
||||||
{
|
{
|
||||||
long d_version; /* Used since Cygwin 1.3.3. */
|
long d_version; /* Used since Cygwin 1.3.3. */
|
||||||
long __d_reserved[2];
|
ino_t d_ino; /* still junk but with more bits */
|
||||||
long d_fd; /* File descriptor of open directory.
|
long d_fd; /* File descriptor of open directory.
|
||||||
Used since Cygwin 1.3.3. */
|
Used since Cygwin 1.3.3. */
|
||||||
ino_t d_ino; /* Just for compatibility, it's junk */
|
unsigned long old_d_ino;/* Just for compatibility, it's junk */
|
||||||
char d_name[256]; /* FIXME: use NAME_MAX? */
|
char d_name[256]; /* FIXME: use NAME_MAX? */
|
||||||
};
|
};
|
||||||
|
#pragma pack(pop)
|
||||||
|
|
||||||
#define __DIRENT_COOKIE 0xdede4242
|
#define __DIRENT_COOKIE 0xdede4242
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user