1 Star 0 Fork 33

haomi123/cups

forked from src-openEuler/cups 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Also-fix-cupsfilter.patch 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
shirely 提交于 2022-06-15 17:06 . fix master failed
From 3a1a81d7b882c06451a39a19a87aca7ec44742e6 Mon Sep 17 00:00:00 2001
From: Michael R Sweet <michael.r.sweet@gmail.com>
Date: Wed, 12 Jan 2022 08:33:58 -0500
Subject: [PATCH] Also fix cupsfilter (Issue #323)
Reference:https://github.com/OpenPrinting/cups/commit/3a1a81d7b882c06451a39a19a87aca7ec44742e6
---
scheduler/cupsfilter.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/scheduler/cupsfilter.c b/scheduler/cupsfilter.c
index c6dbb8debb..a03e77de76 100644
--- a/scheduler/cupsfilter.c
+++ b/scheduler/cupsfilter.c
@@ -981,7 +981,6 @@ exec_filters(mime_type_t *srctype, /* I - Source type */
printer_info[255], /* PRINTER_INFO env variable */
printer_location[255], /* PRINTER_LOCATION env variable */
printer_name[255], /* PRINTER env variable */
- rip_max_cache[1024], /* RIP_MAX_CACHE */
userenv[1024], /* USER */
#if CUPS_SNAP
fontconfig_file[1024], /* FONTCONFIG_FILE */
@@ -1133,7 +1132,6 @@ exec_filters(mime_type_t *srctype, /* I - Source type */
envp[i ++] = printer_info;
envp[i ++] = printer_location;
envp[i ++] = printer_name;
- envp[i ++] = rip_max_cache;
envp[i ++] = userenv;
envp[i ++] = "CHARSET=utf-8";
if (final_content_type[0])
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/haomi0602/cups.git
git@gitee.com:haomi0602/cups.git
haomi0602
cups
cups
master

搜索帮助