Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71941 Details for
Bug 111272
enhancement for version 6 of cups drivers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to update cupsaddsmb.c
cupsaddsmb.patch (text/plain), 2.12 KB, created by
Chris Smith
on 2005-11-02 10:04:02 UTC
(
hide
)
Description:
patch to update cupsaddsmb.c
Filename:
MIME Type:
Creator:
Chris Smith
Created:
2005-11-02 10:04:02 UTC
Size:
2.12 KB
patch
obsolete
>diff -Naur cups-1.1.23.orig/systemv/cupsaddsmb.c cups-1.1.23/systemv/cupsaddsmb.c >--- cups-1.1.23.orig/systemv/cupsaddsmb.c 2005-01-03 14:29:59.000000000 -0500 >+++ cups-1.1.23/systemv/cupsaddsmb.c 2005-11-02 12:50:27.000000000 -0500 >@@ -1,5 +1,5 @@ > /* >- * "$Id: cupsaddsmb.c,v 1.20 2005/01/03 19:29:59 mike Exp $" >+ * "$Id: cupsaddsmb.c 4536 2005-06-18 01:28:52Z mike $" > * > * "cupsaddsmb" command for the Common UNIX Printing System (CUPS). > * >@@ -625,7 +625,7 @@ > * See if we also have the CUPS driver files; if so, use them! > */ > >- snprintf(file, sizeof(file), "%s/drivers/cupsdrv6.dll", datadir); >+ snprintf(file, sizeof(file), "%s/drivers/cupsps6.dll", datadir); > if (!access(file, 0)) > { > /* >@@ -633,9 +633,10 @@ > */ > > snprintf(subcmd, sizeof(subcmd), >- "put %s/drivers/cupsdrv6.dll W32X86/cupsdrv6.dll;" >+ "put %s/drivers/cups6.ini W32X86/cups6.ini;" >+ "put %s/drivers/cupsps6.dll W32X86/cupsps6.dll;" > "put %s/drivers/cupsui6.dll W32X86/cupsui6.dll", >- datadir, datadir); >+ datadir, datadir, datadir); > > if ((status = do_samba_command(command, subcmd)) != 0) > { >@@ -652,8 +653,9 @@ > snprintf(subcmd, sizeof(subcmd), > "adddriver \"Windows NT x86\" \"%s:" > "pscript5.dll:%s.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:" >- "cupsdrv6.dll,cupsui6.dll,pscript.ntf\"", >- dest, dest); >+ "pscript5.dll,%s.ppd,ps5ui.dll,pscript.hlp,pscript.ntf," >+ "cups6.ini,cupsps6.dll,cupsui6.dll\"", >+ dest, dest, dest); > } > else > { >@@ -665,8 +667,8 @@ > snprintf(subcmd, sizeof(subcmd), > "adddriver \"Windows NT x86\" \"%s:" > "pscript5.dll:%s.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:" >- "pscript.ntf\"", >- dest, dest); >+ "pscript5.dll,%s.ppd,ps5ui.dll,pscript.hlp,pscript.ntf\"", >+ dest, dest, dest); > } > > snprintf(command, sizeof(command), "rpcclient %s", SAMBAServer); >@@ -947,5 +949,5 @@ > > > /* >- * End of "$Id: cupsaddsmb.c,v 1.20 2005/01/03 19:29:59 mike Exp $". >+ * End of "$Id: cupsaddsmb.c 4536 2005-06-18 01:28:52Z mike $". > */
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111272
: 71941 |
71943