This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Jan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]