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

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


The branch, v3-2-test has been updated
       via  3cba8305bd32c7a83fd9c39eaea953b8a0199b22 (commit)
      from  f75b53f85cbccc4b37db4c9adc0df81a06898d38 (commit)

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


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

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

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

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


Changeset truncated at 500 lines:

diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 2c37693..0468769 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -1420,6 +1420,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