~sircmpwn/hare-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH hare] rt/+openbsd: fix writev syscall

Details
Message ID
<ZgVphYJQKaqrRRMe@fluorine>
DKIM signature
pass
Download raw message
Patch: +1 -1
Signed-off-by: Lennart Jablonka <humm@ljabl.com>
---
 rt/+openbsd/syscalls.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+openbsd/syscalls.ha b/rt/+openbsd/syscalls.ha
index 10cc0e06..a5a52b45 100644
--- a/rt/+openbsd/syscalls.ha
+++ b/rt/+openbsd/syscalls.ha
@@ -938,7 +938,7 @@ export fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = {

// writev

@symbol("readv") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size;
@symbol("writev") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size;

export fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = {
	let res: u64 = libc_writev(fd, iov, iovcnt);
-- 
2.44.0

[hare/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<D05EHG5TQZ5W.342FD59GN2X2Q@fra01>
In-Reply-To
<ZgVphYJQKaqrRRMe@fluorine> (view parent)
DKIM signature
missing
Download raw message
hare/patches: SUCCESS in 1m23s

[rt/+openbsd: fix writev syscall][0] from [Lennart Jablonka][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/50501
[1]: humm@ljabl.com

✓ #1180942 SUCCESS hare/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/1180942
✓ #1180944 SUCCESS hare/patches/openbsd.yml https://builds.sr.ht/~sircmpwn/job/1180944
✓ #1180943 SUCCESS hare/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/1180943
Lorenz (xha) <me@xha.li>
Details
Message ID
<ZgWmuZd3pJzP1TrP@xha.li>
In-Reply-To
<ZgVphYJQKaqrRRMe@fluorine> (view parent)
DKIM signature
missing
Download raw message
thanks! this is actually the only mistake i made, just double checked
the whole file. sorry for the trouble, i guess it was no fun debugging
this ;-)

To ssh://git.sr.ht:/~sircmpwn/hare
   37fb2f54..8164df02  master -> master

On Thu, Mar 28, 2024 at 12:58:46PM +0000, Lennart Jablonka wrote:
> Signed-off-by: Lennart Jablonka <humm@ljabl.com>
> ---
>  rt/+openbsd/syscalls.ha | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rt/+openbsd/syscalls.ha b/rt/+openbsd/syscalls.ha
> index 10cc0e06..a5a52b45 100644
> --- a/rt/+openbsd/syscalls.ha
> +++ b/rt/+openbsd/syscalls.ha
> @@ -938,7 +938,7 @@ export fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = {
>  
>  // writev
>  
> -@symbol("readv") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size;
> +@symbol("writev") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size;
>  
>  export fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = {
>  	let res: u64 = libc_writev(fd, iov, iovcnt);
> -- 
> 2.44.0
> 
Reply to thread Export thread (mbox)