mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
Reinstate fs_slfs_rename stub
Needed by TI libc for use with add_device PUBLISHED_FROM=ff0713c5f4d04810894d8e1a82aaac25aa101365
This commit is contained in:
parent
39b0b8e2fd
commit
3a8464e4b8
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user