add patch 2.2_release submit/tizen_2.2/20130816.014551
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 16 Aug 2013 01:45:43 +0000 (10:45 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 16 Aug 2013 01:45:43 +0000 (10:45 +0900)
packaging/osp-ime.spec
src/app/FApp_ImeEntry.cpp

index 10ff3c0..5aa231d 100644 (file)
@@ -1,3 +1,4 @@
+%define debug_package %{nil}
 %define __strip /bin/true
 
 Name:       osp-ime
index 9517878..fb6c717 100755 (executable)
@@ -20,6 +20,7 @@
  * @brief      This is the entry point for the IME application.
  */
 
+#include <assert.h>
 #include <dlfcn.h>
 #include <dlog.h> // LOG()
 #include <fcntl.h> // open()
@@ -398,6 +399,7 @@ scim_helper_module_set_path_info(const char* path)
        memset(symbolicLinkPath, '\0', _MAX_BUFFER_SIZE);
        ssize_t byteCount = -1;
        byteCount = readlink(path, symbolicLinkPath, _MAX_BUFFER_SIZE);
+       assert(byteCount != -1);
        LOG(LOG_DEBUG, _LOG_TAG_IME, "%s {%d) > The byteCount is %d.", __func__, __LINE__, byteCount);
 
        // parse ime info