7 for (i =
1; i
<=
NF; ++i
) {
13 for (i =
0; i
< count
; ++i
) {
14 printf ("static struct r_search_path_elem rtld_search_dir%d =\n", i
+1);
15 printf (" { \"%s/\", %d, unknown, 0, unknown, ",
16 dir
[i
], length (dir
[i
]) + 1);
20 printf ("&rtld_search_dir%d };\n", i
);
22 printf ("\nstatic struct r_search_path_elem *rtld_search_dirs[] =\n{\n");
23 for (i =
0; i
< count
; ++i
) {
24 printf (" &rtld_search_dir%d,\n", i
+ 1);
26 printf (" NULL\n};\n\n");
27 printf ("static struct r_search_path_elem *all_dirs = &rtld_search_dir%d;\n",