[Tizen-submit] 21561: Changes to Tizen:IVI/libmm-log

noreply at tizen.org noreply at tizen.org
Tue Feb 25 08:16:03 GMT 2014


Hi,
Jinkun Jang have made the following changes to libmm-log in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21561

  submit:       Tizen:IVI:build/libmm-log(cleanup) -> Tizen:IVI


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: Enable build with iniparser v 3.1
Git project: platform/core/multimedia/libmm-log
Tag: submit/tizen/20140225.081506
Commit: a62f929c6e3c7e83e53d401cfd082b60d5af42cd Enable build with iniparser v 3.1

State:   new        2014-02-25T08:15:43 tizenrobot
Comment: <no comment>
spec files:
-----------
--- libmm-log.spec
+++ libmm-log.spec
@@ -1,8 +1,8 @@
 Name:       libmm-log
+VCS:        platform/core/multimedia/libmm-log#a62f929c6e3c7e83e53d401cfd082b60d5af42cd
 Summary:    Multimedia Framework LOG Lib
 Version:    0.1.5
 Release:    7
-VCS:        platform/core/multimedia/libmm-log#accepted/tizen/20130912.100613-0-g2935f29c751c4706f277b4d800638180137254fd
 Group:      Multimedia/Multimedia Framework
 License:    Apache-2.0
 Source0:    libmm-log-%{version}.tar.gz

other changes:
--------------

++++++ libmm-log-0.1.5.tar.gz
--- src/logmanager.c
+++ src/logmanager.c
@@ -265,7 +265,7 @@
 
         if (pdata->direction == LOG_DIRECTION_FILE)
         {
-            filename = iniparser_getstr(inifile, LOG_LOGFILE_KEY);
+            filename = iniparser_getstring(inifile, LOG_LOGFILE_KEY, NULL);
 
             if (filename && (strlen (filename) < sizeof (pdata->filename))) // :+:by prevent
             {
@@ -281,11 +281,11 @@
             }
         }
         /* COLOR SETTINGS */
-        __conv_color(LOG_CLASS_INFO,      pdata->colors, iniparser_getstr(inifile, LOG_COLOR_INFO_KEY));
-        __conv_color(LOG_CLASS_WARNING,   pdata->colors, iniparser_getstr(inifile, LOG_COLOR_WARNING_KEY));
-        __conv_color(LOG_CLASS_ERR,       pdata->colors, iniparser_getstr(inifile, LOG_COLOR_ERROR_KEY));
-        __conv_color(LOG_CLASS_CRITICAL,  pdata->colors, iniparser_getstr(inifile, LOG_COLOR_CRITICAL_KEY));
-        __conv_color(LOG_CLASS_NONE,      pdata->colors, iniparser_getstr(inifile, LOG_COLOR_ASSERT_KEY));
+        __conv_color(LOG_CLASS_INFO,      pdata->colors, iniparser_getstring(inifile, LOG_COLOR_INFO_KEY, NULL));
+        __conv_color(LOG_CLASS_WARNING,   pdata->colors, iniparser_getstring(inifile, LOG_COLOR_WARNING_KEY, NULL));
+        __conv_color(LOG_CLASS_ERR,       pdata->colors, iniparser_getstring(inifile, LOG_COLOR_ERROR_KEY, NULL));
+        __conv_color(LOG_CLASS_CRITICAL,  pdata->colors, iniparser_getstring(inifile, LOG_COLOR_CRITICAL_KEY, NULL));
+        __conv_color(LOG_CLASS_NONE,      pdata->colors, iniparser_getstring(inifile, LOG_COLOR_ASSERT_KEY, NULL));
 
         iniparser_freedict(inifile);
     }
@@ -403,7 +403,7 @@
 
         if (pdata->direction == LOG_DIRECTION_FILE)
         {
-            filename = iniparser_getstr(inifile, LOG_LOGFILE_KEY);
+            filename = iniparser_getstring(inifile, LOG_LOGFILE_KEY, NULL);
 
             if (filename)
             {
@@ -416,11 +416,11 @@
             }
         }
         /* COLOR SETTINGS */
-        __conv_color(LOG_CLASS_INFO,      pdata->colors, iniparser_getstr(inifile, LOG_COLOR_INFO_KEY));
-        __conv_color(LOG_CLASS_WARNING,   pdata->colors, iniparser_getstr(inifile, LOG_COLOR_WARNING_KEY));
-        __conv_color(LOG_CLASS_ERR,       pdata->colors, iniparser_getstr(inifile, LOG_COLOR_ERROR_KEY));
-        __conv_color(LOG_CLASS_CRITICAL,  pdata->colors, iniparser_getstr(inifile, LOG_COLOR_CRITICAL_KEY));
-        __conv_color(LOG_CLASS_NONE,      pdata->colors, iniparser_getstr(inifile, LOG_COLOR_ASSERT_KEY));
+        __conv_color(LOG_CLASS_INFO,      pdata->colors, iniparser_getstring(inifile, LOG_COLOR_INFO_KEY, NULL));
+        __conv_color(LOG_CLASS_WARNING,   pdata->colors, iniparser_getstring(inifile, LOG_COLOR_WARNING_KEY, NULL));
+        __conv_color(LOG_CLASS_ERR,       pdata->colors, iniparser_getstring(inifile, LOG_COLOR_ERROR_KEY, NULL));
+        __conv_color(LOG_CLASS_CRITICAL,  pdata->colors, iniparser_getstring(inifile, LOG_COLOR_CRITICAL_KEY, NULL));
+        __conv_color(LOG_CLASS_NONE,      pdata->colors, iniparser_getstring(inifile, LOG_COLOR_ASSERT_KEY, NULL));
 
         iniparser_freedict(inifile);
     }


More information about the Tizen-submit mailing list