mirror of
https://github.com/go-gitea/gitea
synced 2024-07-07 10:35:48 +00:00
73e5c36f25
* Upgrade xorm to v1.2.2 (#16663) Backport #16663 Fix #16683 * Upgrade xorm to v1.2.2 * Change the Engine interface to match xorm v1.2.2 * Add test to ensure that dumping of login sources remains correct (#16847) #16831 has occurred because of a missed regression. This PR adds a simple test to try to prevent this occuring again. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
41 lines
1.0 KiB
Go
Vendored
41 lines
1.0 KiB
Go
Vendored
// go run mksyscall.go -tags darwin,amd64,go1.13 syscall_darwin.1_13.go
|
|
// Code generated by the command above; see README.md. DO NOT EDIT.
|
|
|
|
//go:build darwin && amd64 && go1.13
|
|
// +build darwin,amd64,go1.13
|
|
|
|
package unix
|
|
|
|
import (
|
|
"syscall"
|
|
"unsafe"
|
|
)
|
|
|
|
var _ syscall.Errno
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func closedir(dir uintptr) (err error) {
|
|
_, _, e1 := syscall_syscall(libc_closedir_trampoline_addr, uintptr(dir), 0, 0)
|
|
if e1 != 0 {
|
|
err = errnoErr(e1)
|
|
}
|
|
return
|
|
}
|
|
|
|
var libc_closedir_trampoline_addr uintptr
|
|
|
|
//go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno) {
|
|
r0, _, _ := syscall_syscall(libc_readdir_r_trampoline_addr, uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
|
|
res = Errno(r0)
|
|
return
|
|
}
|
|
|
|
var libc_readdir_r_trampoline_addr uintptr
|
|
|
|
//go:cgo_import_dynamic libc_readdir_r readdir_r "/usr/lib/libSystem.B.dylib"
|