Maschell
8a2bf09800
wutdevoptab: Fix setting mode flags
2022-06-18 12:47:04 +02:00
Maschell
89b396d373
wutdevoptab: Only update the file->offset on a successful seek.
2022-06-18 12:46:45 +02:00
Dave Murphy
6494a30c3d
wutdevoptab: Make sure to always read into/write from a properly aligned buffer
2022-06-04 21:35:58 +02:00
Maschell
c0e4eb7ae8
wutdevoptab: simplify the __wut_fs_translate_time implementation
2022-06-04 19:23:30 +02:00
Maschell
f0da3d7236
wutdevoptab: Add time and mode information for stat and fstat ( #218 )
...
* wutdevoptab: Add time and mode information for stat and fstat
* wutdevoptab: rename __wut_translate_mode to __wut_fs_translate_mode
2022-05-07 11:26:11 +01:00
Maschell
578674a336
wutdevoptab: Replace FSError usage with FSStatus in __wut_fs_translate_error
2022-04-15 16:59:42 +01:00
Maschell
616ebe1a06
wutdevoptab: Only call FSUnmount if FSMount was successful
2022-02-27 16:06:22 +01:00
Maschell
62b78f7b9f
coreinit: Add missing parameter to FSChangeMode/FSChangeModeAsync ( #199 )
2022-02-26 16:55:47 +01:00
Maschell
920c8ad3d6
wutdevoptab: Add missing FSUnmount on fini ( #207 )
2022-02-26 16:54:18 +01:00
Maschell
510409db7a
wutdevoptab: Use FS_ERROR_FLAG_ALL instead of -1
2021-01-01 17:21:44 +01:00
Maschell
79b8597a68
wutdevoptab: Only allocate a new buffer if the given buffer is not aligned properly ( #159 )
2021-01-01 17:16:40 +01:00
V10lator
83ca413027
Translate more FSErrors to errnos ( #150 )
2020-07-22 03:23:29 +01:00
Maschell
545ea62e11
devoptab: add missing S_IFREG flag in the fstat return value
2020-06-23 10:45:50 +01:00
Maschell
9796ca64b2
wutdevoptab: Add missing RemoveDevice in __fini_wut_devoptab
2020-06-04 10:29:19 +01:00
Maschell
d659fd98d4
wutdevoptab: Reset __wut_fs_initialised and __wut_devoptab_fs_client in __fini_wut_devoptab
2020-06-04 10:29:19 +01:00
Ash Logan
28ffb89c02
Merge 'build-refactor' attempt #1 ; get upstream changes
2019-04-23 18:37:05 +10:00
rw-r-r-0644
6ea6625b78
devoptab: Fix double free in __wut_fs_stat
...
The double free caused apps to crash when attempting to run stat on a directory
2019-02-24 15:48:46 +00:00
fincs
ee3bb10df4
First pass at adopting a devkitPro-style build system, see details:
...
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
- RPX start function is __rpx_start, while RPL is __rpl_start
- __init/fini_wut_* functions are no longer weak
- __init_wut/__fini_wut are instead weak
- Removed _exit implementation
- exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
- Renamed .cc files to .cpp
- Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
- Fixed uninitialized variable warnings in __wut_fs_read/write
2019-02-12 12:46:28 +01:00
James Benton
857fcd8eea
Build libraries with -Wall and -Werror.
2018-10-06 10:50:32 +01:00
James Benton
069e28acec
Make the devoptab code more consistent.
2018-10-06 10:41:24 +01:00
James Benton
690bd6ccbd
Revert "Rename wutdevoptab to wutdevoptab_sd"
...
This reverts commit 865af4609c .
Turns out it is for whole filesystem. oops.
2018-07-19 08:51:40 +01:00