diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 10:01:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-05 10:01:54 +0000 |
commit | caaac4db27bcd33f7865faaf60d6a848c5204d03 (patch) | |
tree | 9e89a3575c3a1a279d8477c6582c2fd8d4b8402f /win32/dir.h | |
parent | 7336cf5424cd9adb91fb56005cf55b39410d9305 (diff) | |
download | ruby-caaac4db27bcd33f7865faaf60d6a848c5204d03.tar.gz |
* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
[ruby-dev:22486]
* pack.c (pack_unpack): unpack requires big endian offet (OFF16B
and OFF32B). The patch is from Minero Aoki in [ruby-dev:22489]
* pack.c (OFF16B): add big-endian offset again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r-- | win32/dir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h index fdea6393c8..8345e346b3 100644 --- a/win32/dir.h +++ b/win32/dir.h @@ -10,6 +10,8 @@ struct direct long d_namlen; ino_t d_ino; char d_name[256]; + char d_isdir; /* directory */ + char d_isrep; /* reparse point */ char d_isdir; }; typedef struct { @@ -17,6 +19,8 @@ typedef struct { char *curr; long size; long nfiles; + char *bits; /* used for d_isdir and d_isrep */ + long bitpos; /* used for d_isdir and d_isrep */ struct direct dirstr; char *bits; long bitpos; |