git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9dbe3
)
r15887: Ensure we use sys_write so we're not interrupted.
author
Jeremy Allison
<jra@samba.org>
Thu, 25 May 2006 15:43:12 +0000
(15:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:17:12 +0000
(11:17 -0500)
Jeremy.
source/smbd/chgpasswd.c
patch
|
blob
|
history
diff --git
a/source/smbd/chgpasswd.c
b/source/smbd/chgpasswd.c
index 16b44a54bf9a2082ddf3869389016bd6e17843b1..011122ee575d820d95b9b816b9cdd8cb08379795 100644
(file)
--- a/
source/smbd/chgpasswd.c
+++ b/
source/smbd/chgpasswd.c
@@
-241,7
+241,7
@@
static int expect(int master, char *issue, char *expected)
if (lp_passwd_chat_debug())
DEBUG(100, ("expect: sending [%s]\n", issue));
- if ((len = write(master, issue, strlen(issue))) != strlen(issue)) {
+ if ((len =
sys_
write(master, issue, strlen(issue))) != strlen(issue)) {
DEBUG(2,("expect: (short) write returned %d\n", len ));
return False;
}