git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4569595
)
Correctly full buffer smbpasswd i/o streams.
author
Jeremy Allison
<jra@samba.org>
Thu, 2 Mar 2000 02:58:48 +0000
(
02:58
+0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 2 Mar 2000 02:58:48 +0000
(
02:58
+0000)
Jeremy.
(This used to be commit
7b222ed713d47241822323970214326b6a8e67ac
)
source3/passdb/smbpass.c
patch
|
blob
|
history
diff --git
a/source3/passdb/smbpass.c
b/source3/passdb/smbpass.c
index 4a1d89bd06749896a16b31ce4df3fcaca38d198d..701d796c562ff46663f12321b50d00f1169927f3 100644
(file)
--- a/
source3/passdb/smbpass.c
+++ b/
source3/passdb/smbpass.c
@@
-146,7
+146,7
@@
static void *startsmbfilepwent_internal(const char *pfile, enum pwf_access_type
}
/* Set a buffer to do more efficient reads */
- setvbuf(fp, (char *)NULL, _IO
LBF, 0
);
+ setvbuf(fp, (char *)NULL, _IO
FBF, 1024
);
/* Make sure it is only rw by the owner */
chmod(pfile, 0600);