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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 76a94131bf8823b3ad0192878ecef6b6ef2da004
Author: Justus Winter <4win...@informatik.uni-hamburg.de>
Date:   Sat Nov 23 15:25:03 2013 +0100

    libports: improve error handling in ports_reallocate_port
    
    * libports/reallocate-port.c (ports_reallocate_port): Improve error
      handling.
---
 libports/reallocate-port.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libports/reallocate-port.c b/libports/reallocate-port.c
index b2977dd..d2adaeb 100644
--- a/libports/reallocate-port.c
+++ b/libports/reallocate-port.c
@@ -48,7 +48,8 @@ ports_reallocate_port (void *portstruct)
     }
   pi->cancel_threshold = 0;
   pi->mscount = 0;
-  hurd_ihash_add (&pi->bucket->htable, pi->port_right, pi);
+  err = hurd_ihash_add (&pi->bucket->htable, pi->port_right, pi);
+  assert_perror (err);
   pthread_mutex_unlock (&_ports_lock);
 
   err = mach_port_move_member (mach_task_self (), pi->port_right, 

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

Reply via email to