Rev 3363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3363 | Rev 3444 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | char cd_path[4096]; |
12 | char cd_path[4096]; |
13 | char install_path[4096]; |
13 | char install_path[4096]; |
14 | signed int result; |
14 | signed int result; |
Line 15... | Line 15... | ||
15 | 15 | ||
16 | mem_Init(); |
16 | mem_Init(); |
Line 17... | Line 17... | ||
17 | GetDir(#dirbuf, #fcount, "/"); |
17 | GetDir(#dirbuf, #fcount, "/", DIRS_ONLYREAL); |
18 | 18 | ||
19 | for (i=0; i |
19 | for (i=0; i |
20 | { |
20 | { |
21 | filename = i*304+dirbuf+72; |
21 | filename = i*304+dirbuf+72; |
22 | if (!strstr(filename, "fd")) |
22 | if (!strstr(filename, "fd")) |
23 | { |
23 | { |
24 | strcpy(#cd_path, "/"); |
24 | strcpy(#cd_path, "/"); |
25 | strcat(#cd_path, filename); |
25 | strcat(#cd_path, filename); |
Line 26... | Line 26... | ||
26 | free(dirbuf2); |
26 | free(dirbuf2); |
27 | GetDir(#dirbuf2, #fcount2, #cd_path); |
27 | GetDir(#dirbuf2, #fcount2, #cd_path, DIRS_ONLYREAL); |
28 | 28 | ||
29 | for (j=0; j |
29 | for (j=0; j |