summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2005-07-19 18:18:37 +0000
committerMagnus Holmgren <magnushol@gmail.com>2005-07-19 18:18:37 +0000
commit30b8378b68716dcc7ac6c900e4831f2f1991fddd (patch)
tree309b4fe1ee3ad431e31687e4dd4e754a5e0ced6a
parent79442c8fbd5b2b8aac46a14b30c3dcdec715e37f (diff)
downloadrockbox-30b8378b68716dcc7ac6c900e4831f2f1991fddd.tar.gz
rockbox-30b8378b68716dcc7ac6c900e4831f2f1991fddd.tar.bz2
rockbox-30b8378b68716dcc7ac6c900e4831f2f1991fddd.zip
Win32 needs the mode bits for open too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/common/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 7ea2d6878f..1fdc2ef8c8 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -154,11 +154,7 @@ int sim_open(const char *name, int o)
sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
debugf("We open the real file '%s'\n", buffer);
-#ifdef WIN32
- return open(buffer, opts);
-#else
return open(buffer, opts, 0666);
-#endif
}
fprintf(stderr, "WARNING, bad file name lacks slash: %s\n",
name);