[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 41/98: libports: improve error handling in ports_reallocate_from_
From: |
Samuel Thibault |
Subject: |
[hurd] 41/98: libports: improve error handling in ports_reallocate_from_external |
Date: |
Tue, 14 Jan 2014 02:00:01 +0000 |
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 <address@hidden>
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
- [hurd] 12/98: mach-defpager: remove unused variables, (continued)
- [hurd] 12/98: mach-defpager: remove unused variables, Samuel Thibault, 2014/01/13
- [hurd] 45/98: proc: store the privileged host port in _hurd_host_priv, Samuel Thibault, 2014/01/13
- [hurd] 36/98: libports: fix right leaks when adjusting priorities, Samuel Thibault, 2014/01/13
- [hurd] 65/98: trans: fix the use of the hash table in fakeroot.c, Samuel Thibault, 2014/01/13
- [hurd] 37/98: libshouldbeinlibc: fix minor port leak in maptime_map, Samuel Thibault, 2014/01/13
- [hurd] 38/98: init: fix port leak, Samuel Thibault, 2014/01/13
- [hurd] 68/98: trans: fix locking issue in fakeroot, Samuel Thibault, 2014/01/13
- [hurd] 55/98: pflocal: improve the demuxer functions, Samuel Thibault, 2014/01/13
- [hurd] 57/98: utils: improve the auth_demuxer function in fakeauth.c, Samuel Thibault, 2014/01/13
- [hurd] 66/98: trans: improve the performance of dir_lookup in fakeroot, Samuel Thibault, 2014/01/13
- [hurd] 41/98: libports: improve error handling in ports_reallocate_from_external,
Samuel Thibault <=
- [hurd] 40/98: libports: improve error handling in ports_reallocate_port, Samuel Thibault, 2014/01/13
- [hurd] 58/98: trans: remove unused declaration from fakeroot.c, Samuel Thibault, 2014/01/13
- [hurd] 72/98: trans: fix reference counting bug in fakeroot, Samuel Thibault, 2014/01/13
- [hurd] 39/98: proc: update comments, Samuel Thibault, 2014/01/13
- [hurd] 26/98: Make sure created netfs nodes have stat validated, Samuel Thibault, 2014/01/13
- [hurd] 53/98: proc: improve the message_demuxer function, Samuel Thibault, 2014/01/13
- [hurd] 04/98: utils: implement settrans --pid-file, Samuel Thibault, 2014/01/13
- [hurd] 59/98: trans: improve the netfs_demuxer function in fakeroot.c, Samuel Thibault, 2014/01/13
- [hurd] 48/98: libports: another right leak fix, Samuel Thibault, 2014/01/13
- [hurd] 73/98: trans: improve the error handling in fakeauth, Samuel Thibault, 2014/01/13