[Title] - add big quotations in java cmd args to support white spaces in path
authorSon Hyunjun <hj79.son@samsung.com>
Tue, 20 Mar 2012 12:18:05 +0000 (21:18 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Tue, 20 Mar 2012 12:18:05 +0000 (21:18 +0900)
        - use Sleep in _WIN32
[Type] Bugfix
[Module]
[Priority] Major
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: I6e5362e89a9d956ed61f201b4ae60e6ca7383a4d

.gitignore
tizen/src/skin/maruskin_client.c
tizen/src/skin/maruskin_operation.c

index 3e3e2f35a02351f7dee3aca289719a7ba2f0cd9f..e10dd7943cf434ef60e2a6d7cc90a9d3117b9313 100644 (file)
@@ -77,3 +77,4 @@ tags
 TAGS
 *~
 tizen/Emulator
+tizen/src/skin/client/src/about.properties
\ No newline at end of file
index 31e86453357ae7eee0a276586585e257433c77d1..8b2ccc94422beec19d052d6f40fd2426444678aa 100644 (file)
@@ -77,7 +77,7 @@ static void* run_skin_client(void* arg)
     char* vm_path = tizen_target_path;
     INFO( "vm_path:%s\n", vm_path );
 
-    sprintf( cmd, "%s %s %s %s=%d %s=%d %s=%s %s=%d %s", JAVA_EXEFILE_PATH, JAVA_EXEOPTION, JAR_SKINFILE_PATH,
+    sprintf( cmd, "%s %s %s %s=\"%d\" %s=\"%d\" %s=\"%s\" %s=\"%d\" %s", JAVA_EXEFILE_PATH, JAVA_EXEOPTION, JAR_SKINFILE_PATH,
         OPT_SVR_PORT, skin_server_port,
         OPT_UID, uid,
         OPT_VM_PATH, vm_path,
index 2a787540bb95abc3c2bdddc29aab5744a7fdfe55..9d46da1c693f59c12f22afba16feb6f0e9b17a49 100644 (file)
@@ -115,7 +115,11 @@ void do_hardkey_event( int event_type, int keycode ) {
                 if ( is_suspended_state() ) {
                     INFO( "user requests system resume.\n" );
                     resume();
+#ifdef _WIN32
+                    Sleep( 500 );
+#else
                     usleep( 500 * 1000 );
+#endif
                 }
             }