git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c57c9
)
s4:libcli/resolve/dns_ex: make use of double_fork() to avoid SIGCHLD problems.
author
Stefan Metzmacher
<metze@samba.org>
Tue, 26 Oct 2010 22:37:45 +0000
(
00:37
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 27 Oct 2010 07:33:37 +0000
(09:33 +0200)
metze
source4/libcli/resolve/dns_ex.c
patch
|
blob
|
history
diff --git
a/source4/libcli/resolve/dns_ex.c
b/source4/libcli/resolve/dns_ex.c
index 35e2ad74c31cc4113d07c3e4acdc4989d66be6b4..11f609bcbe3e7c3e866fa3b3af7a09be81c81614 100644
(file)
--- a/
source4/libcli/resolve/dns_ex.c
+++ b/
source4/libcli/resolve/dns_ex.c
@@
-507,7
+507,7
@@
struct composite_context *resolve_name_dns_ex_send(TALLOC_CTX *mem_ctx,
}
tevent_fd_set_auto_close(state->fde);
- state->child =
fork(
);
+ state->child =
double_fork(NULL
);
if (state->child == (pid_t)-1) {
composite_error(c, map_nt_error_from_unix(errno));
return c;