projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d67588
)
Fix wrong assertion.
author
Lasse Collin
<lasse.collin@tukaani.org>
Tue, 2 Feb 2010 09:50:11 +0000
(11:50 +0200)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Tue, 2 Feb 2010 09:50:11 +0000
(11:50 +0200)
This was added in
455e68c030fde8a8c2f5e254c3b3ab9489bf3735
.
src/xz/main.c
patch
|
blob
|
history
diff --git
a/src/xz/main.c
b/src/xz/main.c
index
842f5ea
..
c533003
100644
(file)
--- a/
src/xz/main.c
+++ b/
src/xz/main.c
@@
-253,9
+253,10
@@
main(int argc, char **argv)
// All files have now been handled. If in --list mode, display
// the totals before exiting. We don't have signal handlers
// enabled in --list mode, so we don't need to check user_abort.
- assert(!user_abort);
- if (opt_mode == MODE_LIST)
+ if (opt_mode == MODE_LIST) {
+ assert(!user_abort);
list_totals();
+ }
// If we have got a signal, raise it to kill the program instead
// of calling tuklib_exit().