]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Remove legacy code for RIP_MAX_CACHE environment variable (Issue #323)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 12 Jan 2022 13:12:24 +0000 (08:12 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 12 Jan 2022 13:12:24 +0000 (08:12 -0500)
CHANGES.md
scheduler/job.c

index 658c5602cee2882c34c40767df676105e983c29e..ccee6c8f541198efbf149949c31979a047dccd2a 100644 (file)
@@ -5,12 +5,15 @@ Changes in CUPS v2.4.1 (TBA)
 ----------------------------
 
 - Configuration script now checks linking for -Wl,-pie flags (Issue #303)
-- Fixed memory leaks - in testi18n (Issue #313), in `cups_enum_dests()` (Issue #317),
-  in `_cupsEncodeOption()` and `http_tls_upgrade()` (Issue #322)
+- Fixed memory leaks - in testi18n (Issue #313), in `cups_enum_dests()`
+  (Issue #317), in `_cupsEncodeOption()` and `http_tls_upgrade()` (Issue #322)
 - Fixed missing bracket in de/index.html (Issue #299)
 - Fixed typos in configuration scripts (Issues #304, #316)
+- Removed remaining legacy code for `RIP_MAX_CACHE` environment variable
+  (Issue #323)
 - Removed deprecated directives from cupsctl and cups-files.conf (Issue #300)
 
+
 Changes in CUPS v2.4.0 (29th November 2021)
 -------------------------------------------
 
@@ -21,6 +24,7 @@ Changes in CUPS v2.4.0 (29th November 2021)
 - Fixed compilation on Solaris (Issue #293)
 - Fixed and improved German translations (Issue #296, Issue #297)
 
+
 Changes in CUPS v2.4rc1 (12th November 2021)
 --------------------------------------------
 
@@ -28,6 +32,7 @@ Changes in CUPS v2.4rc1 (12th November 2021)
  if the queue is raw or with driver (Issue #286)
 - Compilation now uses -fstack-protector-strong if available (Issue #285)
 
+
 Changes in CUPS v2.4b1 (27th October 2021)
 ------------------------------------------
 
@@ -40,7 +45,8 @@ Changes in CUPS v2.4b1 (27th October 2021)
 - Added a JSON output mode for `ipptool`.
 - The `ipptool` command now correctly reports an error when a test file cannot
   be found.
-- CUPS library now uses thread safe `getpwnam_r` and `getpwuid_r` functions (Issue #274)
+- CUPS library now uses thread safe `getpwnam_r` and `getpwuid_r` functions
+  (Issue #274)
 - Fixed Kerberos authentication for the web interface (Issue #19)
 - The ZPL sample driver now supports more "standard" label sizes (Issue #70)
 - Fixed reporting of printer instances when enumerating and when no options are
index fd69f71c9c6757f8a4a3a238284cef5f506d34b9..fbacc4cd121e2e05be00bc4197c425486cb9943a 100644 (file)
@@ -541,10 +541,8 @@ cupsdContinueJob(cupsd_job_t *job) /* I - Job */
                                        /* PRINTER_LOCATION env variable */
                        printer_name[255],
                                        /* PRINTER env variable */
-                       *printer_state_reasons = NULL,
+                       *printer_state_reasons = NULL;
                                        /* PRINTER_STATE_REASONS env var */
-                       rip_max_cache[255];
-                                       /* RIP_MAX_CACHE env variable */
 
 
   cupsdLogMessage(CUPSD_LOG_DEBUG2,
@@ -749,7 +747,7 @@ cupsdContinueJob(cupsd_job_t *job)  /* I - Job */
 
   raw_file = !strcmp(job->filetypes[job->current_file]->super, "application") &&
     !strcmp(job->filetypes[job->current_file]->type, "vnd.cups-raw");
-  
+
   if ((job->compressions[job->current_file] && (!job->printer->remote || job->num_files == 1)) ||
       (!job->printer->remote && (job->printer->raw || raw_file) && job->num_files > 1))
   {
@@ -1051,7 +1049,6 @@ cupsdContinueJob(cupsd_job_t *job)        /* I - Job */
   envp[envc ++] = apple_language;
 #endif /* __APPLE__ */
   envp[envc ++] = ppd;
-  envp[envc ++] = rip_max_cache;
   envp[envc ++] = content_type;
   envp[envc ++] = device_uri;
   envp[envc ++] = printer_info;