From 6a3fc713978a0c1c9290a4afd08b47886b49b635 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 13 Aug 2022 16:14:26 +0200 Subject: Update dependencies and go1.18 (#1873) * Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18 --- vendor/modernc.org/sqlite/rlimit_ppc64le.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 vendor/modernc.org/sqlite/rlimit_ppc64le.go (limited to 'vendor/modernc.org/sqlite/rlimit_ppc64le.go') diff --git a/vendor/modernc.org/sqlite/rlimit_ppc64le.go b/vendor/modernc.org/sqlite/rlimit_ppc64le.go deleted file mode 100644 index 754b4766..00000000 --- a/vendor/modernc.org/sqlite/rlimit_ppc64le.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2021 The Sqlite Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package sqlite // import "modernc.org/sqlite" - -import ( - "golang.org/x/sys/unix" -) - -func setMaxOpenFiles(n int64) error { - var rLimit unix.Rlimit - rLimit.Max = uint64(n) - rLimit.Cur = uint64(n) - return unix.Setrlimit(unix.RLIMIT_NOFILE, &rLimit) -} -- cgit v1.2.3