From 30b8378b68716dcc7ac6c900e4831f2f1991fddd Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Tue, 19 Jul 2005 18:18:37 +0000 Subject: Win32 needs the mode bits for open too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7200 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/io.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'uisimulator') 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); -- cgit