projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0feab9d
)
(struct dirent): For consistency, force d_ino to use ino_t and
author
drepper
<drepper>
Fri, 31 Oct 1997 22:52:34 +0000
(22:52 +0000)
committer
drepper
<drepper>
Fri, 31 Oct 1997 22:52:34 +0000
(22:52 +0000)
supply padding.
sysdeps/unix/sysv/linux/alpha/bits/dirent.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/alpha/bits/dirent.h
b/sysdeps/unix/sysv/linux/alpha/bits/dirent.h
index
4d717e4
..
a371a55
100644
(file)
--- a/
sysdeps/unix/sysv/linux/alpha/bits/dirent.h
+++ b/
sysdeps/unix/sysv/linux/alpha/bits/dirent.h
@@
-19,10
+19,14
@@
#ifndef _BITS_DIRENT_H
#define _BITS_DIRENT_H 1
-/* We don't have to make a difference for __USE_FILE_OFFSET64. */
struct dirent
{
- long int d_ino;
+#ifdef __USE_FILE_OFFSET64
+ __ino64_t d_ino;
+#else
+ __ino_t d_ino;
+ int __pad;
+#endif
__off_t d_off;
unsigned short int d_reclen;
unsigned char d_type;
@@
-30,6
+34,7
@@
struct dirent
};
#ifdef __USE_LARGEFILE64
+/* Note dirent64 is the same as dirent. */
struct dirent64
{
__ino64_t d_ino;