mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:32:24 -05:00
[chore] Upgrade wasm-sqlite to v0.16.2 (#2997)
This commit is contained in:
parent
dcf825bd87
commit
978b4176f1
55 changed files with 1075 additions and 1040 deletions
3
vendor/github.com/tetratelabs/wazero/internal/sysfs/file.go
generated
vendored
3
vendor/github.com/tetratelabs/wazero/internal/sysfs/file.go
generated
vendored
|
|
@ -38,9 +38,6 @@ func NewStdioFile(stdin bool, f fs.File) (fsapi.File, error) {
|
|||
}
|
||||
|
||||
func OpenFile(path string, flag experimentalsys.Oflag, perm fs.FileMode) (*os.File, experimentalsys.Errno) {
|
||||
if flag&experimentalsys.O_DIRECTORY != 0 && flag&(experimentalsys.O_WRONLY|experimentalsys.O_RDWR) != 0 {
|
||||
return nil, experimentalsys.EISDIR // invalid to open a directory writeable
|
||||
}
|
||||
return openFile(path, flag, perm)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue