mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-31 21:12:24 -05:00
[chore]: Bump modernc.org/sqlite from 1.24.0 to 1.25.0 (#2114)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
de95f5f928
commit
7c65f1385d
122 changed files with 96210 additions and 40626 deletions
10
vendor/modernc.org/libc/libc_linux_ppc64le.go
generated
vendored
10
vendor/modernc.org/libc/libc_linux_ppc64le.go
generated
vendored
|
|
@ -485,3 +485,13 @@ func __syscall3(t *TLS, trap, p1, p2, p3 long) long {
|
|||
func __syscall4(t *TLS, trap, p1, p2, p3, p4 long) long {
|
||||
return __syscall(unix.Syscall6(uintptr(trap), uintptr(p1), uintptr(p2), uintptr(p3), uintptr(p4), 0, 0))
|
||||
}
|
||||
|
||||
// int setrlimit(int resource, const struct rlimit *rlim);
|
||||
func Xsetrlimit64(t *TLS, resource int32, rlim uintptr) int32 {
|
||||
if _, _, err := unix.Syscall(unix.SYS_SETRLIMIT, uintptr(resource), uintptr(rlim), 0); err != 0 {
|
||||
t.setErrno(err)
|
||||
return -1
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue