CVS update: samba/source/printing

jreilly at samba.org jreilly at samba.org
Sat Jul 28 07:22:37 EST 2001


Date:	Fri Jul 27 14:22:36 2001
Author:	jreilly

Update of /data/cvs/samba/source/printing
In directory va:/tmp/cvs-serv1536/printing

Modified Files:
      Tag: SAMBA_2_2
	nt_printing.c 
Log Message:
Fix for determining the correct 'cversion' for a printer driver. This was
causing Win2K (and likely XP) to put some printer drivers in to the wrong
directory (e.g. print$/W32X86/2 vs print$/W32X86/3).

get_file_version()       Moved forward in file to remove forward reference
file_version_is_newer()  Moved forward in file to remove forward reference
get_correct_cversion()   Use get_file_version() to access the correct info
                         and got rid of 40+ lines of code

Thanks to Jim Vopni (who also had a patch!) and several others who pointed
this out.

JohnR


Revisions:
nt_printing.c		1.96.2.51 => 1.96.2.52
	http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c?r1=1.96.2.51&r2=1.96.2.52




More information about the samba-cvs mailing list