Changeset 82517 in vbox
- Timestamp:
- Dec 9, 2019 2:22:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/fsw_hfs.c
r82400 r82517 1308 1308 1309 1309 new_name.len = name_len + 1 + file_name->len; 1310 new_name.size = 2* new_name.len;1310 new_name.size = sizeof(fsw_u16) * new_name.len; 1311 1311 fsw_alloc(new_name.size, &new_name.data); 1312 1312 name_ptr = (fsw_u16*)new_name.data; 1313 1313 /* Tack on path separator. */ 1314 #ifdef HOST_POSIX 1314 1315 name_ptr[0] = L'/'; 1316 #else 1317 name_ptr[0] = L'\\'; 1318 #endif 1315 1319 /* Copy over + swap the new path component. */ 1316 1320 for (i = 0; i < name_len; i++)
Note:
See TracChangeset
for help on using the changeset viewer.