summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/musl_openbsd_amd64.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-05-18 16:58:26 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-18 15:58:26 +0100
commitf4b0d76cd4ae936a1d327c8a06adf0f50a80b8ad (patch)
treeae39ceff207b2f67dfc4a6971816f29d95507806 /vendor/modernc.org/libc/musl_openbsd_amd64.go
parent[chore] Timeline test updates (#578) (diff)
downloadgotosocial-f4b0d76cd4ae936a1d327c8a06adf0f50a80b8ad.tar.xz
[performance] Add further indexes to mitigate laggy queries (#586)
* start adding more indexes as a migration * update sqlite version
Diffstat (limited to 'vendor/modernc.org/libc/musl_openbsd_amd64.go')
-rw-r--r--vendor/modernc.org/libc/musl_openbsd_amd64.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/modernc.org/libc/musl_openbsd_amd64.go b/vendor/modernc.org/libc/musl_openbsd_amd64.go
index 961f7cd5a..6a2a07bad 100644
--- a/vendor/modernc.org/libc/musl_openbsd_amd64.go
+++ b/vendor/modernc.org/libc/musl_openbsd_amd64.go
@@ -5396,7 +5396,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) {
@@ -5426,7 +5426,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) {
@@ -5715,7 +5715,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)
}