A small patch set to fix two issues with binutils/aa-features-abi:
- The
aa-features-abi -f
short argument was not added to thegetopt_long()
set of short arguments, resulting in the command incorrectly failing when passed -f - Due to variable shadowing the file descriptor for the
--file
argument was not being autoclosed.
- binutils/aa-features-abi: make -f short arg actually be accepted
- binutils/aa-features-abi: fix failure to close fd due to shadowed var decl
Nominated for both trunk and the apparmor-3.0 branch.
Signed-off-by: Steve Beattie steve.beattie@canonical.com