xorriso: Fix download hash and package dependencies
[oi-userland.git] / components / developer / golang-122 / patches / 03-mkfifo-backport.patch
blob44cc10309f75aff5a5535159e3502f58969f3ba3
1 From a2671e12b19ecab0e60e745a29eb8e0751fe45a8 Mon Sep 17 00:00:00 2001
2 From: Jonathan Perkin <jonathan@perkin.org.uk>
3 Date: Tue, 02 Apr 2024 18:07:25 +0000
4 Subject: [PATCH] syscall: implement Mkfifo on illumos
6 Change-Id: Ied223c3a0121d907b6f32005ea9f1bf5e4aebdc4
7 GitHub-Last-Rev: 38142b90bc8fbf25a31d3e12702e22af5d5af1e2
8 GitHub-Pull-Request: golang/go#66648
10 Userland-Porter: Toasterson
11 Userland-Port-Note: This PR has been backported and wont be needed in the future. Mark for review and possible removal in golang 1.23
12 ---
14 diff --git a/src/syscall/syscall_solaris.go b/src/syscall/syscall_solaris.go
15 index 30400b4..89e9459 100644
16 --- a/src/syscall/syscall_solaris.go
17 +++ b/src/syscall/syscall_solaris.go
18 @@ -280,6 +280,10 @@
19 return int(r0), err
22 +func Mkfifo(path string, mode uint32) (err error) {
23 + return Mknod(path, mode|S_IFIFO, 0)
26 func gethostname() (name string, err uintptr)
28 func Gethostname() (name string, err error) {