Removed unused patches.
This commit is contained in:
parent
cf248903eb
commit
3172ae8916
@ -1,37 +0,0 @@
|
||||
diff -up hplip-2.7.12/prnt/hpijs/compression.cpp.alloc hplip-2.7.12/prnt/hpijs/compression.cpp
|
||||
--- hplip-2.7.12/prnt/hpijs/compression.cpp.alloc 2008-01-25 12:16:45.000000000 +0000
|
||||
+++ hplip-2.7.12/prnt/hpijs/compression.cpp 2008-01-25 12:18:02.000000000 +0000
|
||||
@@ -104,12 +104,12 @@ Mode9::Mode9 (SystemServices* pSys,unsig
|
||||
if (constructor_error != NO_ERROR) // if error in base constructor
|
||||
return;
|
||||
|
||||
- // In the worst case, compression expands data by 50%
|
||||
- compressBuf = (BYTE*)pSS->AllocMem(RasterSize + RasterSize/2);
|
||||
+ // In the worst case, compression expands data by 100%
|
||||
+ compressBuf = (BYTE*)pSS->AllocMem(2 * RasterSize);
|
||||
if (compressBuf == NULL)
|
||||
constructor_error=ALLOCMEM_ERROR;
|
||||
|
||||
- memset(compressBuf, 0, RasterSize + RasterSize/2);
|
||||
+ memset(compressBuf, 0, 2 * RasterSize);
|
||||
memset(SeedRow,0,RasterSize);
|
||||
|
||||
ResetSeedRow = FALSE;
|
||||
@@ -199,7 +199,7 @@ BOOL Mode9::Process(RASTERDATA* input)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
- memset(compressBuf, 0, inputsize + inputsize/2);
|
||||
+ memset(compressBuf, 0, 2 * inputsize);
|
||||
|
||||
unsigned int originalsize=input->rastersize[myplane];
|
||||
unsigned int size=input->rastersize[myplane];
|
||||
@@ -571,7 +571,7 @@ Mode3::Mode3 (SystemServices* pSys, Prin
|
||||
// Worst case is when two rows are completely different
|
||||
// In that case, one command byte is added for every 8 bytes
|
||||
// In the worst case, compression expands data by 50%
|
||||
- compressBuf = (BYTE*)pSS->AllocMem(RasterSize + RasterSize/2);
|
||||
+ compressBuf = (BYTE*)pSS->AllocMem(2 * RasterSize);
|
||||
if (compressBuf == NULL)
|
||||
constructor_error=ALLOCMEM_ERROR;
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
--- hplip-1.6.7/fax/backend/hpfax.py.guest 2006-08-21 17:35:34.000000000 +0100
|
||||
+++ hplip-1.6.7/fax/backend/hpfax.py 2006-08-21 17:38:48.000000000 +0100
|
||||
@@ -188,9 +188,6 @@
|
||||
except IndexError:
|
||||
input_fd = 0
|
||||
|
||||
- pdb = pwd.getpwnam(username)
|
||||
- home_folder, uid, gid = pdb[5], pdb[2], pdb[3]
|
||||
-
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
sock.connect((prop.hpssd_host, prop.hpssd_port))
|
||||
Loading…
Reference in New Issue
Block a user