mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 18:02: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
42bb352d53
commit
8f4b779b2d
122 changed files with 96210 additions and 40626 deletions
26
vendor/modernc.org/libc/libc_openbsd.go
generated
vendored
26
vendor/modernc.org/libc/libc_openbsd.go
generated
vendored
|
|
@ -354,7 +354,7 @@ func Xftruncate(t *TLS, fd int32, length types.Off_t) int32 {
|
|||
}
|
||||
|
||||
if dmesgs {
|
||||
dmesg("%v: %d %#x: ok", origin(1), fd, length)
|
||||
dmesg("%v: fd %d length %#0x: ok", origin(1), fd, length)
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
|
@ -372,10 +372,10 @@ func Xread(t *TLS, fd int32, buf uintptr, count types.Size_t) types.Ssize_t {
|
|||
return -1
|
||||
}
|
||||
|
||||
// if dmesgs {
|
||||
// // dmesg("%v: %d %#x: %#x\n%s", origin(1), fd, count, n, hex.Dump(GoBytes(buf, int(n))))
|
||||
// dmesg("%v: %d %#x: %#x", origin(1), fd, count, n)
|
||||
// }
|
||||
if dmesgs {
|
||||
// dmesg("%v: %d %#x: %#x\n%s", origin(1), fd, count, n, hex.Dump(GoBytes(buf, int(n))))
|
||||
dmesg("%v: fd %d, buf %#0x, count %#x: n %#x", origin(1), fd, count, n)
|
||||
}
|
||||
return types.Ssize_t(n)
|
||||
}
|
||||
|
||||
|
|
@ -387,19 +387,19 @@ func Xwrite(t *TLS, fd int32, buf uintptr, count types.Size_t) types.Ssize_t {
|
|||
var n uintptr
|
||||
switch n, _, err = unix.Syscall(unix.SYS_WRITE, uintptr(fd), buf, uintptr(count)); err {
|
||||
case 0:
|
||||
// if dmesgs {
|
||||
// // dmesg("%v: %d %#x: %#x\n%s", origin(1), fd, count, n, hex.Dump(GoBytes(buf, int(n))))
|
||||
// dmesg("%v: %d %#x: %#x", origin(1), fd, count, n)
|
||||
// }
|
||||
if dmesgs {
|
||||
// dmesg("%v: %d %#x: %#x\n%s", origin(1), fd, count, n, hex.Dump(GoBytes(buf, int(n))))
|
||||
dmesg("%v: %d %#x: %#x", origin(1), fd, count, n)
|
||||
}
|
||||
return types.Ssize_t(n)
|
||||
case errno.EAGAIN:
|
||||
// nop
|
||||
}
|
||||
}
|
||||
|
||||
// if dmesgs {
|
||||
// dmesg("%v: fd %v, count %#x: %v", origin(1), fd, count, err)
|
||||
// }
|
||||
if dmesgs {
|
||||
dmesg("%v: fd %v, buf %#0x, count %#x: %v", origin(1), fd, count, err)
|
||||
}
|
||||
t.setErrno(err)
|
||||
return -1
|
||||
}
|
||||
|
|
@ -1479,7 +1479,7 @@ func Xmmap(t *TLS, addr uintptr, length types.Size_t, prot, flags, fd int32, off
|
|||
}
|
||||
|
||||
if dmesgs {
|
||||
dmesg("%v: %#x", origin(1), data)
|
||||
dmesg("%v: addr %#0x, length %#x0, prot %#0x, flags %#0x, fd %d, offset %#0x returns %#0x", origin(1), addr, length, prot, flags, fd, offset, data)
|
||||
}
|
||||
return data
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue