diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-15 20:00:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-15 20:00:41 +0000 |
commit | 041a292c439189206f1c35de94893dd51a1fda33 (patch) | |
tree | c8094c539cfd9ea401997b819ec4967f41970766 /source3/lib/util.c | |
parent | 6de5509a458627814696bc3d58bb1d58a4a53dc4 (diff) | |
download | samba-041a292c439189206f1c35de94893dd51a1fda33.tar.gz samba-041a292c439189206f1c35de94893dd51a1fda33.tar.bz2 samba-041a292c439189206f1c35de94893dd51a1fda33.zip |
ipc.c: Fix for printer queue spinning with Win95.
nmbd.c: Fix for always overwriting log despite append setting.
smb.h: Addition of last time password changed entry to account info.
smbpass.c: Changes to support last time changed field in smbpasswd file.
smbpasswd.c: Changes to support last time changed field in smbpasswd file.
util.c: Fix for always overwriting log despite append setting.
Jeremy.
(This used to be commit eb4fe9ecdf539209efab07dc992447ea7370cf93)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 2990a336c5..54bbdfa30a 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -270,7 +270,10 @@ va_dcl { if (!dbf) { int oldumask = umask(022); - dbf = fopen(debugf,"w"); + if(append_log) + dbf = fopen(debugf,"a"); + else + dbf = fopen(debugf,"w"); umask(oldumask); if (dbf) { setbuf(dbf,NULL); |