summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-02 16:21:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-02 16:21:26 +0000
commit59dbfa3e4cc8d4705ef5a4abd9904fa523f26bfa (patch)
treedceea3234a395183be7e17858fbbf80ef291e984 /win32/dir.h
parent88c127c19be3d12bc5edcb6ceb416985258396c6 (diff)
* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
[ruby-dev:22476] * io.c (argf_eof): ARGF.eof? should not have any side effect. [ruby-dev:22469] * io.c (argf_each_byte): should return self. [ruby-dev:22465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 3dd670b..fdea639 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -10,6 +10,7 @@ struct direct
long d_namlen;
ino_t d_ino;
char d_name[256];
+ char d_isdir;
};
typedef struct {
char *start;
@@ -17,6 +18,8 @@ typedef struct {
long size;
long nfiles;
struct direct dirstr;
+ char *bits;
+ long bitpos;
} DIR;