From: junsuk77.oh Date: Mon, 10 Jun 2013 04:49:05 +0000 (+0900) Subject: Merge branch private-master X-Git-Tag: submit/tizen_2.2/20130714.153417~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98e8b8d21cd289c0223a8e03c6dc59281f8f426b;p=framework%2Fappfw%2Fpkgmgr-info.git Merge branch private-master Change-Id: I88990e27a02ccdb139bfce579bdd522f38112efb Signed-off-by: junsuk77.oh --- diff --git a/packaging/pkgmgr-info.spec b/packaging/pkgmgr-info.spec index 71e063a..98e19ef 100755 --- a/packaging/pkgmgr-info.spec +++ b/packaging/pkgmgr-info.spec @@ -1,6 +1,6 @@ Name: pkgmgr-info Summary: Packager Manager infomation api for package -Version: 0.0.117 +Version: 0.0.118 Release: 1 Group: Application Framework/Package Management License: Apache-2.0 diff --git a/src/pkgmgr-info.c b/src/pkgmgr-info.c index 8866341..e52abf8 100755 --- a/src/pkgmgr-info.c +++ b/src/pkgmgr-info.c @@ -2694,9 +2694,7 @@ API int pkgmgrinfo_pkginfo_get_installed_storage(pkgmgrinfo_pkginfo_h handle, pk /*check whether application is in external memory or not */ fp = fopen(app_mmc_path, "r"); - if (fp == NULL) { - _LOGE(" app path in external memory not accesible\n"); - } else { + if (fp != NULL) { fclose(fp); fp = NULL; *storage = PMINFO_EXTERNAL_STORAGE; @@ -2706,7 +2704,6 @@ API int pkgmgrinfo_pkginfo_get_installed_storage(pkgmgrinfo_pkginfo_h handle, pk /*check whether application is in internal or not */ fp = fopen(app_dir_path, "r"); if (fp == NULL) { - _LOGE(" app path in internal memory not accesible\n"); *storage = -1; return PMINFO_R_ERROR; } else {