| 116 | void get_dos_drive_list(struct td_list_head *list); |
| 117 | |
| 118 | void get_dos_drive_list(struct td_list_head *list) |
| 119 | { |
| 120 | int i; |
| 121 | for(i='a';i<='z';i++) |
| 122 | { |
| 123 | file_info_t *new_drive; |
| 124 | new_drive=(file_info_t*)MALLOC(sizeof(*new_drive)); |
| 125 | new_drive->name=(char*)MALLOC(4); |
| 126 | sprintf(new_drive->name, "%c:/", i); |
| 127 | new_drive->st_mode=LINUX_S_IFDIR|LINUX_S_IRWXUGO; |
| 128 | td_list_add_tail(&new_drive->list, list); |
| 129 | } |
| 130 | } |
| 131 | #endif |
| 132 | static void set_parent_directory(char *dst_directory) |
| 133 | { |
no test coverage detected