summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
426ecdc)
skip further checks after a dlsym failure.
t = dlsym(h, "t");
if (!t)
t_error("dlsym failed\n");
t = dlsym(h, "t");
if (!t)
t_error("dlsym failed\n");
-
- for (i = 0; i < 4; i++) {
+ else for (i = 0; i < 4; i++) {
if (!t[i].name)
t_error("name is not set for t[%d]\n", i);
if (t[i].addr & (t[i].align-1))
if (!t[i].name)
t_error("name is not set for t[%d]\n", i);
if (t[i].addr & (t[i].align-1))