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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 4353f92301cd903a00831a8272d149c45bbb5b8c
Author: Justus Winter <4win...@informatik.uni-hamburg.de>
Date:   Sat Nov 23 15:27:31 2013 +0100

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

diff --git a/libports/reallocate-from-external.c 
b/libports/reallocate-from-external.c
index cd12143..8cccb2a 100644
--- a/libports/reallocate-from-external.c
+++ b/libports/reallocate-from-external.c
@@ -60,7 +60,8 @@ ports_reallocate_from_external (void *portstruct, mach_port_t 
receive)
   pi->cancel_threshold = 0;
   pi->mscount = stat.mps_mscount;
   
-  hurd_ihash_add (&pi->bucket->htable, receive, pi);
+  err = hurd_ihash_add (&pi->bucket->htable, receive, pi);
+  assert_perror (err);
   pthread_mutex_unlock (&_ports_lock);
   
   mach_port_move_member (mach_task_self (), receive, pi->bucket->portset);

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

Reply via email to