summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/sqlite/rlimit_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/sqlite/rlimit_freebsd.go')
-rw-r--r--vendor/modernc.org/sqlite/rlimit_freebsd.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/modernc.org/sqlite/rlimit_freebsd.go b/vendor/modernc.org/sqlite/rlimit_freebsd.go
deleted file mode 100644
index c3d4ddbc..00000000
--- a/vendor/modernc.org/sqlite/rlimit_freebsd.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 = n
- rLimit.Cur = n
- return unix.Setrlimit(unix.RLIMIT_NOFILE, &rLimit)
-}