summaryrefslogtreecommitdiff
path: root/uisimulator
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 /uisimulator
parent79442c8fbd5b2b8aac46a14b30c3dcdec715e37f (diff)
downloadrockbox-30b8378b68716dcc7ac6c900e4831f2f1991fddd.tar.gz
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
Diffstat (limited to 'uisimulator')
-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)
154 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name); 154 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
155 155
156 debugf("We open the real file '%s'\n", buffer); 156 debugf("We open the real file '%s'\n", buffer);
157#ifdef WIN32
158 return open(buffer, opts);
159#else
160 return open(buffer, opts, 0666); 157 return open(buffer, opts, 0666);
161#endif
162 } 158 }
163 fprintf(stderr, "WARNING, bad file name lacks slash: %s\n", 159 fprintf(stderr, "WARNING, bad file name lacks slash: %s\n",
164 name); 160 name);