This commit is contained in:
Baptiste Wicht 2014-03-06 17:24:45 +01:00
parent 584ac28980
commit a8770c42bd

View File

@ -320,6 +320,8 @@ size_t fat32::fat32_file_system::write(const std::vector<std::string>& file_path
return 0; return 0;
} }
//TODO Change the date of the file
size_t first = offset; size_t first = offset;
size_t last = offset + count; size_t last = offset + count;
@ -397,6 +399,8 @@ size_t fat32::fat32_file_system::truncate(const std::vector<std::string>& file_p
return std::ERROR_NOT_EXISTS; return std::ERROR_NOT_EXISTS;
} }
//TODO Change the date of the file
auto parent_cluster_number = cluster_number_search.second; auto parent_cluster_number = cluster_number_search.second;
auto cluster_size = 512 * fat_bs->sectors_per_cluster; auto cluster_size = 512 * fat_bs->sectors_per_cluster;