git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148ca9e
)
Make reinit_after_fork_pipe_handler code with reads being interrupted by a signal.
author
Jeremy Allison
<jra@samba.org>
Thu, 15 Mar 2012 20:24:57 +0000
(13:24 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 15 Mar 2012 22:29:47 +0000
(23:29 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Mar 15 23:29:47 CET 2012 on sn-devel-104
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index fa2cc9fd83de57c0cbb110aceb1f45d31503bca5..81d476b1da8c73cfd679a06177e2551ca24e5f70 100644
(file)
--- a/
source3/lib/util.c
+++ b/
source3/lib/util.c
@@
-387,7
+387,7
@@
static void reinit_after_fork_pipe_handler(struct tevent_context *ev,
{
char c;
- if (read(reinit_after_fork_pipe[0], &c, 1) != 1) {
+ if (
sys_
read(reinit_after_fork_pipe[0], &c, 1) != 1) {
/*
* we have reached EOF on stdin, which means the
* parent has exited. Shutdown the server