This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] libdwfl: Use actual file names in parse_opt failure cases.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sun, 10 Feb 2013 17:00:52 +0100
- Subject: Re: [PATCH] libdwfl: Use actual file names in parse_opt failure cases.
On Sun, 10 Feb 2013 15:16:21 +0100, Mark Wielaard wrote:
> When handling ARGP_KEY_SUCCESS the failure handling code would use 'arg'
> as failure string. But 'arg' would be NULL in such cases leading to failure
> messages like: "cannot open '(null)': No such file or directory".
> Use opt->e and opt->core explicitly to show file names that caused failure.
I see I regressed it, thanks for the fix.