libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal errors!
This commit is contained in:
parent
0074312dec
commit
c4e9d86630
5
NEWS
5
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
|
||||
|
@ -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
|
||||
|
@ -84,6 +84,7 @@ again:
|
||||
* match the hash.
|
||||
*/
|
||||
free(file);
|
||||
rv = 0;
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user