projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(c2mu): Fix problem with UTF-2000.
[chise/xemacs-chise.git]
/
src
/
nt.c
diff --git
a/src/nt.c
b/src/nt.c
index
0c99c25
..
45e9ae5
100644
(file)
--- a/
src/nt.c
+++ b/
src/nt.c
@@
-1331,7
+1331,7
@@
fstat (int handle, struct stat *buffer)
buffer->st_ctime = 0;
buffer->st_mtime = 0;
buffer->st_nlink = 0;
- ret = GetFileInformationByHandle((HANDLE) handle, &lpFileInfo);
+ ret = GetFileInformationByHandle((HANDLE) _get_osfhandle(handle), &lpFileInfo);
if (!ret)
{
return -1;