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 | eb4fe9ecdf539209efab07dc992447ea7370cf93 (patch) | |
tree | 8cfeca86f3005e1e96b1b1a3ac8410f4ebbba0e5 /source/lib/util.c | |
parent | 7ba2195cc1914fbdfdd30eff207ea55ffc3aeb02 (diff) | |
download | samba-eb4fe9ecdf539209efab07dc992447ea7370cf93.tar.gz samba-eb4fe9ecdf539209efab07dc992447ea7370cf93.tar.xz samba-eb4fe9ecdf539209efab07dc992447ea7370cf93.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.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 2990a336c57..54bbdfa30ad 100644 --- a/source/lib/util.c +++ b/source/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); |