commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 82/87: Fix dead name notification in static binaries


From: Samuel Thibault
Subject: [hurd] 82/87: Fix dead name notification in static binaries
Date: Sun, 09 Nov 2014 11:05:06 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 86d5b43634dfb16aca5d03e4df2e047bfa500899
Author: Samuel Thibault <address@hidden>
Date:   Sun Nov 2 23:44:28 2014 +0100

    Fix dead name notification in static binaries
    
    When linking statically, the libports definition would come before the
    libdiskfs definition, defeating the purpose of the ports_dead_name
    callback.
    
    * libports/dead-name.c (ports_dead_name): Rename into __ports_dead_name.
    (ports_dead_name): Add weak alias for __ports_dead_name.
---
 libports/dead-name.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libports/dead-name.c b/libports/dead-name.c
index de89ba6..8c8029f 100644
--- a/libports/dead-name.c
+++ b/libports/dead-name.c
@@ -22,7 +22,8 @@
 #include <mach/notify.h>
 
 void
-ports_dead_name (void *notify, mach_port_t dead_name)
+__ports_dead_name (void *notify, mach_port_t dead_name)
 {
   ports_interrupt_notified_rpcs (notify, dead_name, MACH_NOTIFY_DEAD_NAME);
 }
+weak_alias (__ports_dead_name, ports_dead_name);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

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