[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 24/37: libfshelp: improve error handling
From: |
Samuel Thibault |
Subject: |
[hurd] 24/37: libfshelp: improve error handling |
Date: |
Mon, 09 Feb 2015 09:59:11 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208
in repository hurd.
commit 106287af864c01f20c12d1a0a78a2469a27adc03
Author: Justus Winter <address@hidden>
Date: Sat Jan 17 14:23:34 2015 +0100
libfshelp: improve error handling
* libfshelp/start-translator-long.c (fshelp_start_translator_long):
Once we have a task, go to `lose_task' so that we do not leave hosed
tasks around.
---
libfshelp/start-translator-long.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libfshelp/start-translator-long.c
b/libfshelp/start-translator-long.c
index 64a20be..8b00e08 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -232,7 +232,7 @@ fshelp_start_translator_long (fshelp_open_fn_t
underlying_open_fn,
err = task_priority(task, 25, FALSE);
if (err)
- goto lose;
+ goto lose_task;
/* Designate TASK as our child and set it's owner accordingly. */
proc = getproc ();
@@ -240,11 +240,11 @@ fshelp_start_translator_long (fshelp_open_fn_t
underlying_open_fn,
err = proc_task2proc (proc, task, &childproc);
mach_port_deallocate (mach_task_self (), proc);
if (err)
- goto lose;
+ goto lose_task;
err = proc_setowner (childproc, owner_uid, owner_uid == (uid_t) -1);
mach_port_deallocate (mach_task_self (), childproc);
if (err)
- goto lose;
+ goto lose_task;
assert (ports_len > INIT_PORT_BOOTSTRAP);
switch (ports_type)
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 21/37: procfs: Fix typos in comments (found by codespell), (continued)
- [hurd] 21/37: procfs: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 25/37: libdiskfs: fix port leak, Samuel Thibault, 2015/02/09
- [hurd] 17/37: console-client: Fix typos in comments, Samuel Thibault, 2015/02/09
- [hurd] 27/37: startup: give the tasks we create a name, Samuel Thibault, 2015/02/09
- [hurd] 33/37: Remove unimplemented -s option, Samuel Thibault, 2015/02/09
- [hurd] 19/37: misc: Fix typos in comments (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 36/37: startup: add more error handling, Samuel Thibault, 2015/02/09
- [hurd] 32/37: utils/rpctrace: fix notification port handling, Samuel Thibault, 2015/02/09
- [hurd] 16/37: aclocal.m4, configure.ac: Fix typos and grammar in comment (found by codespell), Samuel Thibault, 2015/02/09
- [hurd] 37/37: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/02/09
- [hurd] 24/37: libfshelp: improve error handling,
Samuel Thibault <=
- [hurd] 18/37: console: Fix typos in comments, Samuel Thibault, 2015/02/09
- [hurd] 30/37: proc: call `startup_essential_task' earlier, Samuel Thibault, 2015/02/09
- [hurd] 34/37: Allow dhcp trafic and configuration, Samuel Thibault, 2015/02/09
- [hurd] 01/37: Makeconf: handle the task_notify protocol, Samuel Thibault, 2015/02/09
- [hurd] 02/37: proc: register for new task notifications, Samuel Thibault, 2015/02/09
- [hurd] 07/37: ext2fs: tune the size of the inode cache, Samuel Thibault, 2015/02/09
- [hurd] 26/37: libports: silence pointless error message, Samuel Thibault, 2015/02/09
- [hurd] 12/37: Avoid ./ components in mtab output, Samuel Thibault, 2015/02/09
- [hurd] 10/37: Fix inclusion loop between hurd_types.defs and hurd/signal.h>, Samuel Thibault, 2015/02/09
- [hurd] 35/37: Explicit the keymap compatibility flags, Samuel Thibault, 2015/02/09