Skip to content

Commit 611fb04

Browse files
committed
Test with index 0.
1 parent 353e5b0 commit 611fb04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/portability/source/portability_library_path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ int portability_library_path_find(const char name[], portability_library_path_st
194194
}
195195

196196
/* Start from 1 so we avoid the executable itself */
197-
for (image_index = 1; image_index < size; ++image_index)
197+
for (image_index = 0; image_index < size; ++image_index)
198198
{
199199
const char *image_name = _dyld_get_image_name(image_index);
200200

0 commit comments

Comments
 (0)