[Tizen-submit] 15843: Changes to Tizen/vconf

noreply at tizen.org noreply at tizen.org
Thu Oct 10 22:43:01 GMT 2013


Hi,
Patrick McCarty have made the following changes to vconf in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15843

  submit:       Tizen:build/vconf(cleanup) -> Tizen


Message:
Submitter: Patrick McCarty <patrick.mccarty at linux.intel.com>
Comments: Remove /tmp/vconf-init mechanism
Git project: platform/core/appfw/vconf
Tag: submit/tizen/20131010.224337
Commit: 5cdc2874cdc9b3cdcdb2289330403f192fcdfae0 Remove /tmp/vconf-init mechanism

State:   new        2013-10-10T22:41:28 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- vconf.spec
+++ vconf.spec
@@ -2,7 +2,7 @@
 Summary:    Configuration system library
 Version:    0.2.45
 Release:    3
-VCS:        platform/core/appfw/vconf#submit/tizen/20130926.044732-0-g0c9b80463d2b7002d3122c9a3c7fcde98f6d2ad8
+VCS:        platform/core/appfw/vconf#submit/tizen/20131010.224337-0-g5cdc2874cdc9b3cdcdb2289330403f192fcdfae0
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -58,7 +58,6 @@
 ln -sf ../vconf-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
 
 %post
-touch /tmp/vconf-initialized
 /sbin/ldconfig
 systemctl daemon-reload
 

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

++++++ vconf-0.2.45.tar.gz
--- packaging/vconf.spec
+++ packaging/vconf.spec
@@ -57,7 +57,6 @@
 ln -sf ../vconf-setup.service %{buildroot}%{_unitdir}/basic.target.wants/
 
 %post
-touch /tmp/vconf-initialized
 /sbin/ldconfig
 systemctl daemon-reload
 
--- vconf-init
+++ vconf-init
@@ -7,4 +7,3 @@
 
 
 cp -a /opt/var/kdb/memory_init/memory/* /var/run/memory
-touch /tmp/vconf-initialized
--- vconf.c
+++ vconf.c
@@ -37,8 +37,6 @@
 #define VCONF_ERROR_RETRY_CNT 20
 #define VCONF_ERROR_RETRY_SLEEP_UTIME 10000
 
-#define VCONF_NOT_INITIALIZED (access("/tmp/vconf-initialized", F_OK) == -1)
-
 #ifdef VCONF_USE_SQLFS_TRANSACTION
 int IN_SBOX=0;
 
@@ -1037,11 +1035,6 @@
 	ret = _vconf_get_key_path(keynode->keyname, path);
 	retv_if(ret != VCONF_OK, ret);
 
-	if(prefix == VCONF_BACKEND_MEMORY && VCONF_NOT_INITIALIZED) {
-		func_ret = VCONF_ERROR_NOT_INITIALIZED;
-		goto out_return;
-	}
-
 #ifdef VCONF_USE_BACKUP_TRANSACTION
 	if(prefix == VCONF_BACKEND_DB && keynode->type == VCONF_TYPE_STRING) {
 		_vconf_get_backup_path(keynode->keyname, backup_path);
@@ -1216,12 +1209,7 @@
 		is_busy_err = 0;
 		retry++;
 
-		if(VCONF_NOT_INITIALIZED)
-		{
-			ERR("%s : vconf is not initialized\n", keynode->keyname);
-			is_busy_err = 1;
-		}
-		else if(ret == VCONF_ERROR_FILE_OPEN)
+		if(ret == VCONF_ERROR_FILE_OPEN)
 		{
 			switch (errno)
 			{
@@ -1712,12 +1700,6 @@
 	ret = _vconf_get_key_path(keynode->keyname, path);
 	retv_if(ret != VCONF_OK, ret);

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list