mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
c0a963e3cc
The cstring for the shell path is too short for nixos in cups-filters, causing it to be truncated. This was previously fixed in #5428, but regressed. This is a permanent solution accepted even upstream https://bugs.linuxfoundation.org/show_bug.cgi?id=1325 http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7401
14 lines
512 B
Diff
14 lines
512 B
Diff
diff --git a/filter/foomatic-rip/foomaticrip.c b/filter/foomatic-rip/foomaticrip.c
|
|
index 90a851c..689a2bd 100644
|
|
--- a/filter/foomatic-rip/foomaticrip.c
|
|
+++ b/filter/foomatic-rip/foomaticrip.c
|
|
@@ -174,7 +174,7 @@ char cupsfilterpath[PATH_MAX] = "/usr/local/lib/cups/filter:"
|
|
"/opt/cups/filter:"
|
|
"/usr/lib/cups/filter";
|
|
|
|
-char modern_shell[64] = SHELL;
|
|
+char modern_shell[] = SHELL;
|
|
|
|
void config_set_option(const char *key, const char *value)
|
|
{
|