commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited 5/7] hurd: Add __libc_open and __libc_close


From: Samuel Thibault
Subject: [hurd,commited 5/7] hurd: Add __libc_open and __libc_close
Date: Wed, 16 Dec 2020 01:59:42 +0100

Needed by libpthread for sem_open and sem_close
---
 hurd/Versions             | 1 +
 sysdeps/mach/hurd/close.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hurd/Versions b/hurd/Versions
index 1aad27d91f..b66d37be07 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -153,6 +153,7 @@ libc {
     __lll_abstimed_lock; __lll_robust_lock;
     __lll_robust_abstimed_lock; __lll_robust_trylock;
     __lll_robust_unlock;
+    __libc_open; __libc_close;
 
     # Used by libpthread.
     _hurd_sigstate_set_global_rcv;
diff --git a/sysdeps/mach/hurd/close.c b/sysdeps/mach/hurd/close.c
index b461087447..b6530dfeee 100644
--- a/sysdeps/mach/hurd/close.c
+++ b/sysdeps/mach/hurd/close.c
@@ -35,4 +35,5 @@ __close (int fd)
   return err ? __hurd_fail (err) : 0;
 }
 libc_hidden_def (__close)
+strong_alias (__close, __libc_close)
 weak_alias (__close, close)
-- 
2.29.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]