~autumnull/haredo-devel

haredo.ha: pipe_flag is pipe_flags now v1 APPLIED

Max Schillinger: 1
 haredo.ha: pipe_flag is pipe_flags now

 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks (i gave up waiting)

~Autumn
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~autumnull/haredo-devel/patches/41431/mbox | git am -3
Learn more about email & git

[PATCH] haredo.ha: pipe_flag is pipe_flags now Export this patch

Signed-off-by: Max Schillinger <maxschillinger@web.de>
---
 src/haredo.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/haredo.ha b/src/haredo.ha
index 036bf4f..8f6d6f9 100644
--- a/src/haredo.ha
+++ b/src/haredo.ha
@@ -62,7 +62,7 @@ export fn main() void = {
	// a slot is acquired, and writing a byte to the pipe when a slot is freed.
	let (rd, wr) = match (os::getenv("HAREDO_PIPE")) {
	case void =>
		yield unix::pipe(unix::pipe_flag::NOCLOEXEC)!;
		yield unix::pipe(unix::pipe_flags::NOCLOEXEC)!;
	case let s: str =>
		let (rd, wr) = strings::cut(s, ",");
		let rd = io::fdopen(strconv::stoi(rd)!);
--
2.40.1
known issue, blocked on this patch
https://lists.sr.ht/~sircmpwn/hare-dev/patches/41249