git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
um
/
kernel
/
helper.c
diff --git
a/arch/um/kernel/helper.c
b/arch/um/kernel/helper.c
index
0e3d409
..
6c71144
100644
(file)
--- a/
arch/um/kernel/helper.c
+++ b/
arch/um/kernel/helper.c
@@
-100,8
+100,13
@@
int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv,
CATCH_EINTR(n = waitpid(pid, NULL, 0));
pid = -errno;
}
CATCH_EINTR(n = waitpid(pid, NULL, 0));
pid = -errno;
}
+ err = pid;
- if(stack_out == NULL) free_stack(stack, 0);
+ out_close:
+ os_close_file(fds[0]);
+ out_free:
+ if(stack_out == NULL)
+ free_stack(stack, 0);
else *stack_out = stack;
return(pid);
else *stack_out = stack;
return(pid);