diff options
author | John L. Whiteman <john.l.whiteman@intel.com> | 2014-09-23 13:39:52 -0700 |
---|---|---|
committer | John L. Whiteman <john.l.whiteman@intel.com> | 2014-09-23 13:52:18 -0700 |
commit | ddfbfa59068a46999afcd645dda13a73680c825c (patch) | |
tree | ea3b4a3723bf63a14590e17f862672b4e39b6645 | |
parent | 4bdcb4fc7a40d576fd478176cab04ebc9fd5406d (diff) | |
download | vconf-accepted/tizen_ivi.tar.gz vconf-accepted/tizen_ivi.tar.bz2 vconf-accepted/tizen_ivi.zip |
Fixed TC-1693. Added missing slash for vconf dirstizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen/20140923.230805accepted/tizen/ivi/20140927.153331accepted/tizen/common/20140924.074022tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_3.0_iviaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
Change-Id: I223451b8449dd2f7b973519244c5e8b6944c01dd
Signed-off-by: John L. Whiteman <john.l.whiteman@intel.com>
-rw-r--r-- | packaging/vconf.changes | 5 | ||||
-rwxr-xr-x | vconf.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/packaging/vconf.changes b/packaging/vconf.changes index f2806d0..8c96ecb 100644 --- a/packaging/vconf.changes +++ b/packaging/vconf.changes @@ -1,4 +1,7 @@ -* Wed Sep 25 2013 Chengwei Yang <chengwei.yang@intel.com> +* Tue Sep 23 2014 John L. Whiteman <john.l.whiteman@intel.com> accepted/tizen/ivi/20140701.103253-1-gc0a0af7 +- Fixed TC-1693. Added missing slash for vconf dirs + +* Wed Sep 25 2013 Chengwei Yang <chengwei.yang@intel.com> None - Fix can not write memory backend key at image creation stage * Fri Sep 20 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130913.063407@c8eb1a2 @@ -605,9 +605,9 @@ int _vconf_get_key_prefix(const char *keyname, int *prefix) int _vconf_get_key_path(const char *keyname, char *path) { if (strncmp(keyname, BACKEND_DB_PREFIX, strlen(BACKEND_DB_PREFIX)) == 0) { - snprintf(path, VCONF_KEY_PATH_LEN, "%s%s", BACKEND_SYSTEM_DIR, keyname); + snprintf(path, VCONF_KEY_PATH_LEN, "%s/%s", BACKEND_SYSTEM_DIR, keyname); } else if (0 == strncmp(keyname, BACKEND_FILE_PREFIX, strlen(BACKEND_FILE_PREFIX))) { - snprintf(path, VCONF_KEY_PATH_LEN, "%s%s", BACKEND_SYSTEM_DIR, keyname); + snprintf(path, VCONF_KEY_PATH_LEN, "%s/%s", BACKEND_SYSTEM_DIR, keyname); } else if (0 == strncmp(keyname, BACKEND_MEMORY_PREFIX, strlen(BACKEND_MEMORY_PREFIX))) { snprintf(path, VCONF_KEY_PATH_LEN, "%s%s", BACKEND_MEMORY_DIR, keyname); } else { @@ -631,7 +631,7 @@ int _vconf_get_backup_path(const char *keyname, char *path) key_buf[i] = keyname[i]; } - snprintf(path, VCONF_KEY_PATH_LEN, "%s%s%s%s", BACKEND_SYSTEM_DIR, BACKEND_DB_PREFIX, ".backup/", key_buf); + snprintf(path, VCONF_KEY_PATH_LEN, "%s/%s%s%s", BACKEND_SYSTEM_DIR, BACKEND_DB_PREFIX, ".backup/", key_buf); return VCONF_OK; } |