FYI: Small build fix for unusual configuration

Petr Machata pmachata at redhat.com
Mon Apr 11 17:22:06 UTC 2011


This might be just shifting the problem into the future, but this works
with less code and will make it easier to add more formats, should that
be necessary:

>      for (size_t i = 0;
>-	i < sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0];
>+	i + 1 < (sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0]) + 1;

PM


More information about the elfutils-devel mailing list