Bug 24301 - dwz fails to return EXIT_FAILURE when processing two files
Summary: dwz fails to return EXIT_FAILURE when processing two files
Status: RESOLVED FIXED
Alias: None
Product: dwz
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-04 16:43 UTC by Tom de Vries
Modified: 2019-05-10 07:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2019-03-04 16:43:29 UTC
When using dwz -L0 on a hello world a.out, it fails:
...
$ dwz -L0 a.out
$ echo $?
1
...
    
But when we do the same for a.out and a copy b.out, it passes:
...
$ cp a.out b.out
$ dwz -L0 a.out b.out
$ echo $?
0
...
Comment 1 Tom de Vries 2019-03-04 16:50:21 UTC
patch submitted: https://sourceware.org/ml/dwz/2019-q1/msg00069.html