diff options
author | Wez Furlong <wez@messagesystems.com> | 2012-03-24 10:08:46 -0400 |
---|---|---|
committer | Wez Furlong <wez@messagesystems.com> | 2012-03-24 10:08:46 -0400 |
commit | 360c8b9c5c6424c753131c7253da393fa6aab71f (patch) | |
tree | 21fe593b8d8af02f6c9b9ee466feff85983e42fb /cvt/traverse.h | |
parent | 729f57f084156849c553ee494c9492fb966c4a3a (diff) | |
download | ctf-360c8b9c5c6424c753131c7253da393fa6aab71f.tar.gz |
fix operation on Linux, where the deprecated elf_getshstrndx API simply
returns the value from elf_getshdrstrndx, which is 0 in my simple test
case, and is interpreted as an error. Switch to the newer API and check
for the definitive -1 value as the error indicator.
Diffstat (limited to 'cvt/traverse.h')
0 files changed, 0 insertions, 0 deletions