Update dependencies (#1929)

This commit is contained in:
Wim
2022-11-27 00:42:16 +01:00
committed by GitHub
parent 6da9d567dc
commit 4fd0a76727
1126 changed files with 1057766 additions and 1385139 deletions

6
vendor/modernc.org/libc/etc.go generated vendored
View File

@@ -212,6 +212,8 @@ func (t *TLS) Close() {
atomic.AddInt32(&tlsBalance, -1)
}
t.pthreadData.close(t)
*t = TLS{}
}
// Alloc allocates n bytes of thread-local storage. It must be paired with a
@@ -307,7 +309,7 @@ func (t *TLS) Alloc(n int) (r uintptr) {
return r
}
//this declares how many stack frames are kept alive before being freed
// this declares how many stack frames are kept alive before being freed
const stackFrameKeepalive = 2
// Free deallocates n bytes of thread-local storage. See TLS.Alloc for details
@@ -822,7 +824,7 @@ func parseZoneOffset(s string, offOpt bool) (string, string, int, bool) {
return "", s0, 0, true
}
// [+|-]hh[:mm[:ss]]
// [+|-]hh[:mm[:ss]]
func parseOffset(s string) (string, int) {
if len(s) == 0 {
panic(todo(""))