summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-08 07:57:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-08 07:57:38 +0000
commit5b06e833453dcbbf4da69a5f98d50e565d4300ef (patch)
tree185ce18aa5c6db3d4144bab7bbbbe99cfa03f660 /win32/dir.h
parentdb24cb705dd1337129909ccd5923db0ebf695a13 (diff)
dir.c: glob short names
* dir.c (glob_helper): match patterns against legacy short names too, not only ordinary names. [ruby-core:67954] [Bug #10819] * win32/dir.h (struct direct): add short name members. * win32/win32.c (opendir_internal, readdir_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 0e1bff0..5a97f54 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -13,6 +13,8 @@ struct direct
long d_namlen;
ino_t d_ino;
char *d_name;
+ char *d_altname; /* short name */
+ short d_altlen;
char d_isdir; /* directory */
char d_isrep; /* reparse point */
};