mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 04:42:25 -05:00
[chore] Update bun / sqlite versions; update gtsmodels (#754)
* upstep bun and sqlite versions * allow specific columns to be updated in the db * only update necessary columns for user * bit tidier * only update necessary fields of media_attachment * only update relevant instance fields * update tests * update only specific account columns * use bool pointers on gtsmodels includes attachment, status, account, user * update columns more selectively * test all default fields on new account insert * updating remaining bools on gtsmodels * initialize pointer fields when extracting AP emoji * copy bools properly * add copyBoolPtr convenience function + test it * initialize false bool ptrs a bit more neatly
This commit is contained in:
parent
52fe681ba2
commit
ac6ed3d939
376 changed files with 337942 additions and 298092 deletions
6
vendor/modernc.org/libc/musl_darwin_arm64.go
generated
vendored
6
vendor/modernc.org/libc/musl_darwin_arm64.go
generated
vendored
|
|
@ -2904,7 +2904,7 @@ func Xgethostbyaddr(tls *TLS, a uintptr, l socklen_t, af int32) uintptr { /* get
|
|||
// var res uintptr at bp, 8
|
||||
|
||||
var err int32
|
||||
for ok := true; ok; ok = err == 34 {
|
||||
for __ccgo := true; __ccgo; __ccgo = err == 34 {
|
||||
Xfree(tls, _sh)
|
||||
_sh = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
|
||||
if !(_sh != 0) {
|
||||
|
|
@ -3019,7 +3019,7 @@ func Xgethostbyname2(tls *TLS, name uintptr, af int32) uintptr { /* gethostbynam
|
|||
// var res uintptr at bp, 8
|
||||
|
||||
var err int32
|
||||
for ok := true; ok; ok = err == 34 {
|
||||
for __ccgo := true; __ccgo; __ccgo = err == 34 {
|
||||
Xfree(tls, _sh1)
|
||||
_sh1 = Xmalloc(tls, AssignAddUint64(&size, size+uint64(1)))
|
||||
if !(_sh1 != 0) {
|
||||
|
|
@ -3308,7 +3308,7 @@ type res_sym = struct {
|
|||
func itoa(tls *TLS, p uintptr, x uint32) uintptr { /* getnameinfo.c:18:13: */
|
||||
p += uintptr(uint64(3) * uint64(unsafe.Sizeof(int32(0))))
|
||||
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(0)
|
||||
for ok := true; ok; ok = x != 0 {
|
||||
for __ccgo := true; __ccgo; __ccgo = x != 0 {
|
||||
*(*int8)(unsafe.Pointer(PreDecUintptr(&p, 1))) = int8(uint32('0') + x%uint32(10))
|
||||
x = x / uint32(10)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue