Reinstate fs_slfs_rename stub

Needed by TI libc for use with add_device

PUBLISHED_FROM=ff0713c5f4d04810894d8e1a82aaac25aa101365
This commit is contained in:
Deomid Ryabkov 2016-11-23 11:01:05 +00:00 committed by Cesanta Bot
parent 39b0b8e2fd
commit 3a8464e4b8

View File

@ -11864,6 +11864,10 @@ int fs_slfs_unlink(const char *filename) {
return set_errno(sl_fs_to_errno(sl_FsDel((const _u8 *) filename, 0)));
}
int fs_slfs_rename(const char *from, const char *to) {
return set_errno(ENOTSUP);
}
void fs_slfs_set_new_file_size(const char *name, size_t size) {
int i;
for (i = 0; i < MAX_OPEN_SLFS_FILES; i++) {