[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4248-g906e5bf

Jeremy Allison jra at samba.org
Fri Oct 10 23:43:40 GMT 2008


The branch, v3-3-test has been updated
       via  906e5bf4d2112777ab94ee3761b6376a2150d31a (commit)
      from  a2f989b783f417d6ed5c5d4fb737f61192d087ab (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 906e5bf4d2112777ab94ee3761b6376a2150d31a
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 10 16:42:11 2008 -0700

    Ensure we do reinit_after_fork().
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/printing/print_cups.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/printing/print_cups.c b/source/printing/print_cups.c
index 6086bb8..9326ac7 100644
--- a/source/printing/print_cups.c
+++ b/source/printing/print_cups.c
@@ -425,6 +425,11 @@ static bool cups_pcap_load_async(int *pfd)
 	}
 
 	/* Child. */
+	if (!reinit_after_fork(smbd_messaging_context(), true)) {
+		DEBUG(0,("cups_pcap_load_async: reinit_after_fork() failed\n"));
+		smb_panic("cups_pcap_load_async: reinit_after_fork() failed");
+	}
+
 	close(fds[0]);
 	cups_cache_reload_async(fds[1]);
 	close(fds[1]);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list