Author: abroekhuis
Date: Tue Jul 1 11:43:14 2014
New Revision: 1607052
URL: http://svn.apache.org/r1607052
Log:
CELIX-119: Fixed bug due to APR removal.
Modified:
incubator/celix/trunk/framework/private/src/bundle_cache.c
Modified: incubator/celix/trunk/framework/private/src/bundle_cache.c
URL:
http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/bundle_cache.c?rev=1607052&r1=1607051&r2=1607052&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/bundle_cache.c (original)
+++ incubator/celix/trunk/framework/private/src/bundle_cache.c Tue Jul 1
11:43:14 2014
@@ -153,7 +153,7 @@ static celix_status_t bundleCache_delete
if (dp->d_type == DT_DIR) {
status = bundleCache_deleteTree(cache, subdir);
} else {
- if (rmdir(subdir) != 0) {
+ if (remove(subdir) != 0) {
status = CELIX_FILE_IO_EXCEPTION;
break;
}