summaryrefslogtreecommitdiff
path: root/sal/osl/unx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-31 13:53:12 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-31 13:53:12 +0200
commit299fa646833c1e00448a039f57510a76c6cbb250 (patch)
tree19e9a9f664e4d7bc6b63346a485f5539f1e63db7 /sal/osl/unx
parent7c6cc25249f708805c4073399b09a17ec7ac32f7 (diff)
No need to wait for debugger here on Android, this code does seem to work
Diffstat (limited to 'sal/osl/unx')
-rw-r--r--sal/osl/unx/file_misc.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index 962d7bf3701a..edd4eecbead6 100644
--- a/sal/osl/unx/file_misc.cxx
+++ b/sal/osl/unx/file_misc.cxx
@@ -1055,14 +1055,6 @@ static int oslDoCopyFile(const sal_Char* pszSourceFileName, const sal_Char* pszD
int DestFileFD=0;
int nRet=0;
-#ifdef ANDROID
- volatile int beenhere = 0;
- if (!beenhere) {
- beenhere++;
- fprintf(stderr, "Sleeping NOW, start ndk-gdb!\n");
- ::sleep(20);
- }
-#endif
if (osl_openFilePath(pszSourceFileName,
&SourceFileFH,
osl_File_OpenFlag_Read|osl_File_OpenFlag_NoLock|osl_File_OpenFlag_NoExcl) != osl_File_E_None)