projects
/
platform
/
upstream
/
libabigail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba99e5
)
Make abidw --headers-dir work with the --out-file option
author
Dodji Seketeli
<dodji@redhat.com>
Mon, 13 Feb 2017 16:37:58 +0000
(17:37 +0100)
committer
Dodji Seketeli
<dodji@redhat.com>
Mon, 13 Feb 2017 16:37:58 +0000
(17:37 +0100)
* tools/abidw.cc (parse_command_line): Don't require an empty
output file when parsing the --headers-dir option. This was a
thinko.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tools/abidw.cc
patch
|
blob
|
history
diff --git
a/tools/abidw.cc
b/tools/abidw.cc
index d132c02e1b4799251638440722a80baf749da8ed..418b593b7b4745ad027893e0b838b3bdb5ef1654 100644
(file)
--- a/
tools/abidw.cc
+++ b/
tools/abidw.cc
@@
-167,8
+167,7
@@
parse_command_line(int argc, char* argv[], options& opts)
|| !strcmp(argv[i], "-d"))
{
if (argc <= i + 1
- || argv[i + 1][0] == '-'
- || !opts.out_file_path.empty())
+ || argv[i + 1][0] == '-')
return false;
// elfutils wants the root path to the debug info to be
// absolute.