svn commit: samba r15887 - in branches/SAMBA_3_0/source/smbd: .
jra at samba.org
jra at samba.org
Thu May 25 15:43:12 GMT 2006
Author: jra
Date: 2006-05-25 15:43:12 +0000 (Thu, 25 May 2006)
New Revision: 15887
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15887
Log:
Ensure we use sys_write so we're not interrupted.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/chgpasswd.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/chgpasswd.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/chgpasswd.c 2006-05-25 15:43:03 UTC (rev 15886)
+++ branches/SAMBA_3_0/source/smbd/chgpasswd.c 2006-05-25 15:43:12 UTC (rev 15887)
@@ -241,7 +241,7 @@
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;
}
More information about the samba-cvs
mailing list