On Mon, 2013-08-12 at 14:49 +0200, Mark Wielaard wrote:
> getline can return strings with a newline as last character when reading
> from stdin. This could cause confusing symbol lookup failures like:
>   addr2line: cannot find symbol 'foo
>   '
> So if the last character of the buf returned by getline is a newline just
> null-terminate it right there. Also add a new testcase run-addr2line-test.sh.

I pushed this to master now.

Cheers,

Mark

_______________________________________________
elfutils-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to