diff --git a/NEWS b/NEWS index ac00a6ad..5b884e5b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +xbps-0.5.2.2 (2010-05-18): + + * libxbps: do not forget to reset a variable to 0 when removing obsolete files + that are unexistent or its hash didn't match. + xbps-0.5.2.1 (2010-05-18): * Due to human error, last fix in 0.5.2 was completely wrong and the diff --git a/include/xbps_api.h b/include/xbps_api.h index 4bce77b6..4cac6b95 100644 --- a/include/xbps_api.h +++ b/include/xbps_api.h @@ -59,7 +59,7 @@ __BEGIN_DECLS * @def XBPS_RELVER * Current library release date. */ -#define XBPS_RELVER "20100518:0.5.2.1" +#define XBPS_RELVER "20100518:0.5.2.2" /** * @def XBPS_META_PATH diff --git a/lib/remove_obsoletes.c b/lib/remove_obsoletes.c index bbfd036c..7427e41e 100644 --- a/lib/remove_obsoletes.c +++ b/lib/remove_obsoletes.c @@ -84,6 +84,7 @@ again: * match the hash. */ free(file); + rv = 0; continue; } } else {