fix 'can-update for Windows
svn: r9527
This commit is contained in:
parent
e5fba85ed0
commit
3c9a4a284a
|
@ -3864,7 +3864,7 @@ scheme_do_open_output_file(char *name, int offset, int argc, Scheme_Object *argv
|
||||||
} else if (existsok == 2) {
|
} else if (existsok == 2) {
|
||||||
hmode = OPEN_EXISTING;
|
hmode = OPEN_EXISTING;
|
||||||
} else if (existsok == 3) {
|
} else if (existsok == 3) {
|
||||||
hmode = CREATE_NEW;
|
hmode = OPEN_ALWAYS;
|
||||||
}
|
}
|
||||||
|
|
||||||
fd = CreateFileW(WIDE_PATH(filename),
|
fd = CreateFileW(WIDE_PATH(filename),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user