Commit 955cc2c4 authored by Jonathan Wilkes's avatar Jonathan Wilkes

use sys_open in sys_trytoopenone for Windows ucs2 filenames in abstractions

parent 9d2190ed
Pipeline #1705 passed with stage
in 359 minutes and 18 seconds
......@@ -357,7 +357,7 @@ int sys_trytoopenone(const char *dir, const char *name, const char* ext,
DEBUG(post("looking for %s",dirresult));
/* see if we can open the file for reading */
if ((fd=open(dirresult,O_RDONLY | MSWOPENFLAG(bin))) >= 0)
if ((fd = sys_open(dirresult,O_RDONLY | MSWOPENFLAG(bin))) >= 0)
/* in unix, further check that it's not a directory */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment