components/ghostscript/patches/7152414.patch
author mmhunter@s11sru-x01.us.oracle.com
Tue, 07 May 2013 10:23:59 -0700
branchs11u1-sru
changeset 2613 0cc61e30267c
parent 852 0a7f3f0c7b6f
child 7819 b1bca76ec901
permissions -rw-r--r--
Added tag S11.1SRU4.3 for changeset a1822222111d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
852
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     1
--- ghostscript-9.00/cups/gdevcups.c	Thu Aug 12 23:40:47 2010
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     2
+++ gdevcups.c	Wed Mar  7 13:16:38 2012
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     3
@@ -3459,7 +3459,7 @@
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     4
       sp = ((gx_device_printer *)pdev)->space_params;
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     5
 
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     6
       if ((code = gdev_prn_maybe_realloc_memory((gx_device_printer *)pdev, &sp, 
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     7
-						width_old, height_old,
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     8
+						width, height,
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     9
 						cups->page_uses_transparency))
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
    10
 	  < 0)
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
    11
 	return (code);