The Samba-Bugzilla – Attachment 1457 Details for
Bug 3057
adding 64bit windows printer drivers does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to assume x64 drivers are v3 (user mode) drivers.
x64_printdriver.patch (text/plain), 883 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2005-09-27 08:22:45 UTC
(
hide
)
Description:
patch to assume x64 drivers are v3 (user mode) drivers.
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2005-09-27 08:22:45 UTC
Size:
883 bytes
patch
obsolete
>Index: printing/nt_printing.c >=================================================================== >--- printing/nt_printing.c (revision 10543) >+++ printing/nt_printing.c (working copy) >@@ -1386,12 +1386,19 @@ > *perr = WERR_INVALID_PARAM; > > /* If architecture is Windows 95/98/ME, the version is always 0. */ >- if (strcmp(architecture, "WIN40") == 0) { >+ if (strcmp(architecture, SPL_ARCH_WIN40) == 0) { > DEBUG(10,("get_correct_cversion: Driver is Win9x, cversion = 0\n")); > *perr = WERR_OK; > return 0; > } > >+ /* If architecture is Windows x64, the version is always 3. */ >+ if (strcmp(architecture, SPL_ARCH_X64) == 0) { >+ DEBUG(10,("get_correct_cversion: Driver is x64, cversion = 3\n")); >+ *perr = WERR_OK; >+ return 3; >+ } >+ > /* > * Connect to the print$ share under the same account as the user connected > * to the rpc pipe. Note we must still be root to do this.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3057
: 1457