Flags are named XBPS_FLAG_XXX, add XBPS_FLAG_FORCE.

--HG--
extra : convert_revision : 4f7ad37910303a87788b2daac9b4ba11bf39becd
This commit is contained in:
Juan RP 2009-08-11 14:01:28 +02:00
parent bd8e232a2d
commit 3e42bc6410
4 changed files with 13 additions and 12 deletions

View file

@ -232,7 +232,7 @@ unpack_archive_fini(struct archive *ar, prop_dictionary_t pkg,
archive_error_string(ar));
return rv;;
} else if (rv == EEXIST) {
if (flags & XBPS_VERBOSE) {
if (flags & XBPS_FLAG_VERBOSE) {
printf("WARNING: ignoring existent "
"path: %s\n",
archive_entry_pathname(entry));
@ -241,7 +241,7 @@ unpack_archive_fini(struct archive *ar, prop_dictionary_t pkg,
continue;
}
}
if (flags & XBPS_VERBOSE) {
if (flags & XBPS_FLAG_VERBOSE) {
printf(" %s\n", archive_entry_pathname(entry));
(void)fflush(stdout);
}