mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 21:07:29 -06:00
[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions * step bun to v1.1.3
This commit is contained in:
parent
8d34d5af3c
commit
88979b35d4
246 changed files with 409690 additions and 148967 deletions
10
vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
generated
vendored
10
vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
generated
vendored
|
|
@ -713,7 +713,10 @@ func init() {
|
|||
|
||||
num, err := strconv.ParseInt(fields[1], 10, 32)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
// If we find lines that don't match the expected format we skip over them.
|
||||
// The expected format is <protocol> <number> <aliases> ...
|
||||
// As we're using strings.Fields for splitting the line, failures can happen if the protocol field contains white spaces.
|
||||
continue
|
||||
}
|
||||
|
||||
protoent := &Protoent{
|
||||
|
|
@ -748,7 +751,10 @@ func init() {
|
|||
portproto := strings.SplitN(fields[1], "/", 2)
|
||||
port, err := strconv.ParseInt(portproto[0], 10, 32)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
// If we find lines that don't match the expected format we skip over them.
|
||||
// The expected format is <service-name> <port>/<protocol> [aliases ...]
|
||||
// As we're using strings.Fields for splitting the line, failures can happen if the service name field contains white spaces.
|
||||
continue
|
||||
}
|
||||
|
||||
proto := portproto[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue