nuttx/fs
SPRESENSE 8d591d5bc7 fs/smartfs: Fix file size corruption when opening with truncate mode
If a existing file is opened with truncate mode e.g. fopen(file, "w+"),
the file size will be incorrect after writing any data to the file.
Before writing to the first sector, the reading is performed again.
As a result, it makes an invalid file size. When a sector buffer is used,
it must also write to the first sector.
2022-01-18 08:44:49 +01:00
..
aio fs/aio: Fix compile warning 2021-10-31 06:30:57 -03:00
binfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
cromfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
dirent nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
driver nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
fat fs: fat: Use uint16_t instead of wchar_t 2021-12-09 21:29:29 -06:00
hostfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
inode include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
littlefs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
mmap include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
mount hosfs_rpmsg: merge hostfs_rpmsg to rpmsgfs 2021-12-04 01:04:18 -06:00
mqueue file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
nfs nuttx: remove space befone newline in logs 2021-12-27 21:01:19 -06:00
nxffs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
partition fs/partition/fs_gpt.c: Fix compilation errors when CONFIG_FS_LARGEFILE is not defined 2022-01-13 17:46:29 +08:00
procfs fs/procfs: Remove the unnecessary strcmp 2022-01-12 07:19:40 +01:00
romfs fs/romfs: remove the error single list and using reference 2022-01-05 12:22:17 +08:00
rpmsgfs include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
semaphore fs: Move umask to task_info_s 2021-07-14 10:35:15 -03:00
shm Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
smartfs fs/smartfs: Fix file size corruption when opening with truncate mode 2022-01-18 08:44:49 +01:00
socket file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
spiffs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
tmpfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
unionfs nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
userfs fs/userfs: Support fchstat and chstat callback 2021-08-10 14:57:48 -03:00
vfs Do not require write-access for fsync 2022-01-14 09:01:08 +01:00
fs_initialize.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
Kconfig fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00
Makefile fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00