summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-04-07 17:19:53 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-04-07 17:19:53 +0000
commit799e9489caa41fde88f5ebabf174d4c8646deb1a (patch)
treebed81db30255e5dbc3edaa7e8723ed7b52e68a34 /uisimulator
parent977069a41de8650e9ee2716ff04db6b5365384c6 (diff)
downloadrockbox-799e9489caa41fde88f5ebabf174d4c8646deb1a.tar.gz
rockbox-799e9489caa41fde88f5ebabf174d4c8646deb1a.tar.bz2
rockbox-799e9489caa41fde88f5ebabf174d4c8646deb1a.zip
Remove some more simulator debugging output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/io.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 822a43b63d..c44e050fc9 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -342,7 +342,7 @@ int sim_open(const char *name, int o)
{
snprintf(buffer, sizeof(buffer), "%s%s", get_sim_rootdir(), name);
- debugf("We open the real file '%s'\n", buffer);
+ //debugf("We open the real file '%s'\n", buffer);
if (num_openfiles < MAX_OPEN_FILES)
{
ret = OPEN(buffer, opts, 0666);
@@ -380,7 +380,7 @@ int sim_creat(const char *name)
{
snprintf(buffer, sizeof(buffer), "%s%s", get_sim_rootdir(), name);
- debugf("We create the real file '%s'\n", buffer);
+ //debugf("We create the real file '%s'\n", buffer);
return OPEN(buffer, O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0666);
}
fprintf(stderr, "WARNING, bad file name lacks slash: %s\n", name);
@@ -434,7 +434,7 @@ int sim_mkdir(const char *name)
snprintf(buffer, sizeof(buffer), "%s%s", get_sim_rootdir(), name);
- debugf("We create the real directory '%s'\n", buffer);
+ //debugf("We create the real directory '%s'\n", buffer);
return MKDIR(buffer, 0777);
#endif
}
@@ -449,7 +449,7 @@ int sim_rmdir(const char *name)
{
snprintf(buffer, sizeof(buffer), "%s%s", get_sim_rootdir(), name);
- debugf("We remove the real directory '%s'\n", buffer);
+ //debugf("We remove the real directory '%s'\n", buffer);
return RMDIR(buffer);
}
return RMDIR(name);
@@ -470,7 +470,7 @@ int sim_remove(const char *name)
if(name[0] == '/') {
snprintf(buffer, sizeof(buffer), "%s%s", get_sim_rootdir(), name);
- debugf("We remove the real file '%s'\n", buffer);
+ //debugf("We remove the real file '%s'\n", buffer);
return REMOVE(buffer);
}
return REMOVE(name);
@@ -495,7 +495,7 @@ int sim_rename(const char *oldpath, const char* newpath)
snprintf(buffer2, sizeof(buffer2), "%s%s", get_sim_rootdir(),
newpath);
- debugf("We rename the real file '%s' to '%s'\n", buffer1, buffer2);
+ //debugf("We rename the real file '%s' to '%s'\n", buffer1, buffer2);
return RENAME(buffer1, buffer2);
}
return -1;
@@ -526,8 +526,7 @@ void fat_size(IF_MV2(int volume,) unsigned long* size, unsigned long* free)
{
#ifdef HAVE_MULTIVOLUME
if (volume != 0) {
- debugf("io.c: fat_size(volume=%d); simulator only supports volume 0\n",
- volume);
+ //debugf("io.c: fat_size(volume=%d); simulator only supports volume 0\n",volume);
if (size) *size = 0;
if (free) *free = 0;