fix file-or-directory-identity for dirs on Windows
svn: r16791
This commit is contained in:
parent
25f9bcfe03
commit
b50aee633f
|
@ -2358,7 +2358,7 @@ Scheme_Object *scheme_get_fd_identity(Scheme_Object *port, long fd, char *path)
|
|||
FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||
NULL,
|
||||
OPEN_EXISTING,
|
||||
0,
|
||||
FILE_FLAG_BACKUP_SEMANTICS,
|
||||
NULL);
|
||||
if (fd == INVALID_HANDLE_VALUE) {
|
||||
errid = GetLastError();
|
||||
|
|
Loading…
Reference in New Issue
Block a user