From b3f2d441439af9d36096d11036220136588def43 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Wed, 17 Apr 2024 17:10:51 +0100 Subject: bump to modernc.org/sqlite v1.29.7 (#2850) --- vendor/modernc.org/memory/mmap_unix.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vendor/modernc.org/memory/mmap_unix.go') diff --git a/vendor/modernc.org/memory/mmap_unix.go b/vendor/modernc.org/memory/mmap_unix.go index 93f9b820c..de57b8823 100644 --- a/vendor/modernc.org/memory/mmap_unix.go +++ b/vendor/modernc.org/memory/mmap_unix.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE-MMAP-GO file. -//go:build darwin || dragonfly || freebsd || linux || openbsd || (solaris && !illumos) || netbsd -// +build darwin dragonfly freebsd linux openbsd solaris,!illumos netbsd +//go:build darwin || dragonfly || freebsd || linux || (solaris && !illumos) || netbsd +// +build darwin dragonfly freebsd linux solaris,!illumos netbsd // Modifications (c) 2017 The Memory Authors. @@ -33,6 +33,7 @@ func unmap(addr uintptr, size int) error { // pageSize aligned. func mmap(size int) (uintptr, int, error) { size = roundup(size, osPageSize) + // The actual mmap syscall varies by architecture. mmapSyscall provides same // functionality as the unexported funtion syscall.mmap and is declared in // mmap_*_*.go and mmap_fallback.go. To add support for a new architecture, -- cgit v1.2.3