Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/pack-protocol-doc-on-shallow' into maint
[gitweb.git]
/
compat
/
win32
/
dirent.h
diff --git
a/compat/win32/dirent.h
b/compat/win32/dirent.h
index 8838cd61fc282b3713db76e088130f82b6c6fe33..058207e4bfed628376d94f8002278317b5c65074 100644
(file)
--- a/
compat/win32/dirent.h
+++ b/
compat/win32/dirent.h
@@
-10,7
+10,7
@@
typedef struct DIR DIR;
struct dirent {
unsigned char d_type; /* file type to prevent lstat after readdir */
- char d_name[MAX_PATH
]; /* file name
*/
+ char d_name[MAX_PATH
* 3]; /* file name (* 3 for UTF-8 conversion)
*/
};
DIR *opendir(const char *dirname);