summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 02:52:43 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-15 02:52:43 +0000
commitaf44ff5ea8b12d6273b5fad15fa04a6acc9c36e1 (patch)
tree1e5b8b58e74ccdef2608e69268d0236432085cc7 /win32/dir.h
parentdb38fea37fb2f40399cac3b239f4955d78f8347c (diff)
* dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bring
encoding aware globbing support in from trunk. Dir.[] and Dir.glob() can now take many patterns in an array. Minor fixes will follow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 3dd670b..183d9ef 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -10,13 +10,17 @@ struct direct
long d_namlen;
ino_t d_ino;
char d_name[256];
+ char d_isdir; /* directory */
+ char d_isrep; /* reparse point */
};
typedef struct {
char *start;
char *curr;
long size;
long nfiles;
+ long loc; /* [0, nfiles) */
struct direct dirstr;
+ char *bits; /* used for d_isdir and d_isrep */
} DIR;