[cups.bugs] [LOW] STR #3531: cupsfilter.c sets RIP_CACHE environment variable instead of RIP_MAX_CACHE

Sebastian James sjames at wmltd.co.uk
Tue Mar 16 09:21:08 PDT 2010


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

cupsfilter.c reads the cupsd.conf parameter "RIPCache" and sets it into an
environment variable RIP_CACHE. This is not quite right.

ghostscript uses an environment variable RIP_MAX_CACHE, rather than one
called RIP_CACHE, to set the size of the raster image processor cache.

cupsfilter.c should set the RIP_MAX_CACHE environment variable, rather
than the RIP_CACHE environment variable.

job.c does the correct thing (see line 879 of scheduler/job.c) when
processing a job through the cups filter chain.

A patch is attached for cupsfilter.c, against the cups-1.4.x branch.

Link: http://www.cups.org/str.php?L3531
Version: 1.4-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsfilter.rip_cache.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20100316/9ab3c47c/attachment.ksh>


More information about the cups mailing list