public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Fix build
@ 2023-12-03  0:53 Samuel Thibault
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2023-12-03  0:53 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd

commit 7096914dd8ff2dfd1d8cba3577b72838f5e4c2bd
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 3 01:52:58 2023 +0100

    hurd: Fix build
    
    7e23b3c2c008 ("Update code to handle the new ABI for sending inlined
    port rights.") was missing a cast.
    
    Fixes 7e23b3c2c008e0b9b5da055e675d40cc27bb10ef

Diff:
---
 hurd/intr-msg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index d52e90449e..9912f4f1f3 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -241,7 +241,7 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
 	      const vm_size_t length = ((number * size) + 7) >> 3;
 	      if (ty->msgtl_header.msgt_inline)
 		{
-		  clean_inlined_ports (data);
+		  clean_inlined_ports ((mach_port_name_inlined_t *) data);
 		  /* Move to the next argument.  */
 		  ty = (void *) PTR_ALIGN_UP (data + length, __alignof__ (uintptr_t));
 		}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [glibc] hurd: Fix build
@ 2019-08-30 16:28 Samuel Thibault
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2019-08-30 16:28 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9681c61f11d08f757398c5fb74d676db3e78a576

commit 9681c61f11d08f757398c5fb74d676db3e78a576
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Aug 30 18:27:47 2019 +0200

    hurd: Fix build
    
    * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): Spin-lock '&ss->lock',
    not 'ss'.

Diff:
---
 sysdeps/mach/hurd/i386/sigreturn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c
index c9eaf96..111ca33 100644
--- a/sysdeps/mach/hurd/i386/sigreturn.c
+++ b/sysdeps/mach/hurd/i386/sigreturn.c
@@ -30,7 +30,7 @@ static void
 __sigreturn2 (int *usp)
 {
   struct hurd_sigstate *ss = _hurd_self_sigstate ();
-  __spin_unlock (ss);
+  __spin_unlock (&ss->lock);
 
   sp = usp;
 #define A(line) asm volatile (#line)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-03  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-03  0:53 [glibc] hurd: Fix build Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2019-08-30 16:28 Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).