summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-12-14 19:18:46 +0000
committerJeremy Allison <jra@samba.org>1998-12-14 19:18:46 +0000
commit0a868d1ec30998257d57d71f5eacceb4a0086ca3 (patch)
tree257ddeee771ce6d814d515ddbca1eb8247afbda0
parentaeeee41708541a3236c278bb853e6c2dc1effdf3 (diff)
downloadsamba-0a868d1ec30998257d57d71f5eacceb4a0086ca3.tar.gz
samba-0a868d1ec30998257d57d71f5eacceb4a0086ca3.tar.xz
samba-0a868d1ec30998257d57d71f5eacceb4a0086ca3.zip
Makefile.in: script install fix from Tim Rice.
lib/debug.c: File size check from Jasper. Jeremy.
-rw-r--r--source/Makefile.in2
-rw-r--r--source/lib/debug.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index 184165abacc..190968cff18 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -82,7 +82,7 @@ PROGS2 = bin/rpcclient bin/smbpasswd bin/make_smbcodepage @WRAP@ @WRAP32@
MPROGS = @MPROGS@
PROGS = $(PROGS1) $(PROGS2) $(MPROGS) bin/nmblookup bin/make_printerdef
-SCRIPTS = script/smbtar script/addtosmbpass script/convert_smbpasswd
+SCRIPTS = $(srcdir)/script/smbtar $(srcdir)/script/addtosmbpass $(srcdir)/script/convert_smbpasswd
QUOTAOBJS=@QUOTAOBJS@
diff --git a/source/lib/debug.c b/source/lib/debug.c
index 44f6602054e..02e50aa9213 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -371,6 +371,8 @@ va_dcl
}
#endif
+ check_log_size();
+
#ifdef WITH_SYSLOG
if( !lp_syslog_only() )
#endif
@@ -386,8 +388,6 @@ va_dcl
(void)fflush( dbf );
}
- check_log_size();
-
errno = old_errno;
return( 0 );