diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-05 22:48:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-05 22:48:34 +0000 |
commit | 7d2f8e7063be240c11a56c7dbdda4a033f81b49d (patch) | |
tree | b8af41f43f70a056899e169fa8a4226a0f76831a /uisimulator | |
parent | ed87c774f8e7e7975b040582641621480657d94b (diff) | |
download | rockbox-7d2f8e7063be240c11a56c7dbdda4a033f81b49d.tar.gz rockbox-7d2f8e7063be240c11a56c7dbdda4a033f81b49d.zip |
Set a mode that makes sense as the Rockbox code doesn't use modes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c index 2ead168b5e..9a3030ba35 100644 --- a/uisimulator/x11/io.c +++ b/uisimulator/x11/io.c | |||
@@ -123,9 +123,9 @@ int x11_creat(char *name, int mode) | |||
123 | sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name); | 123 | sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name); |
124 | 124 | ||
125 | debugf("We create the real file '%s'\n", buffer); | 125 | debugf("We create the real file '%s'\n", buffer); |
126 | return (creat)(buffer, mode); | 126 | return (creat)(buffer, 0666); |
127 | } | 127 | } |
128 | return (creat)(name, mode); | 128 | return (creat)(name, 0666); |
129 | } | 129 | } |
130 | 130 | ||
131 | int x11_remove(char *name) | 131 | int x11_remove(char *name) |