[SCM] Samba Shared Repository - branch master updated - c383e8d760b64cb25c93550876280b3c9fc33e5c

Jeremy Allison jra at samba.org
Mon Sep 29 17:58:03 GMT 2008


The branch, master has been updated
       via  c383e8d760b64cb25c93550876280b3c9fc33e5c (commit)
      from  55e201b0a1b24e328b718b78ab8fa926bcc9e90b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c383e8d760b64cb25c93550876280b3c9fc33e5c
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Sep 29 10:57:22 2008 -0700

    Ensure we null out fsp after a close in all paths.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index a3b3a10..19c44d1 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1418,6 +1418,7 @@ static int file_version_is_newer(connection_struct *conn, fstring new_file, fstr
 		}
 	}
 	close_file(fsp, NORMAL_CLOSE);
+	fsp = NULL;
 
 	if (use_version && (new_major != old_major || new_minor != old_minor)) {
 		/* Compare versions and choose the larger version number */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list