/*
-* Copyright 2012 Samsung Electronics Co., Ltd
-*
-* Licensed under the Flora License, Version 1.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.tizenopensource.org/license
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
+ * msg-service
+ *
+ * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
*/
/*==================================================================================================
// if IPC data path is already exist, clear all files in folder.
char exeStr[1024];
- snprintf(exeStr, 1024, "rm %s*.DATA", MSG_IPC_DATA_PATH);
+ snprintf(exeStr, 1024, "rm %s/*.DATA", MSG_IPC_DATA_PATH);
system(exeStr);
}
else
mainloop = g_main_loop_new(NULL, FALSE);
- g_type_init();
+#if !GLIB_CHECK_VERSION(2,35,0)
+ g_type_init ();
+#endif
g_idle_add(InitThreadFunc, NULL);