Index: man/filter.man =================================================================== --- man/filter.man (revision 10481) +++ man/filter.man (working copy) @@ -12,7 +12,7 @@ .\" which should have been included with this file. If this file is .\" file is missing or damaged, see the license at "http://www.cups.org/". .\" -.TH filter 7 "CUPS" "13 April 2012" "Apple Inc." +.TH filter 7 "CUPS" "18 May 2012" "Apple Inc." .SH NAME filter \- cups file conversion filter interface .SH SYNOPSIS @@ -169,6 +169,11 @@ The type of file being printed: "job-sheet" for a banner page and "document" for a regular print file. .TP 5 +CUPS_MAX_MESSAGE +.br +The maximum size of a message sent to stderr, including any leading prefix and +the trailing newline. +.TP 5 CUPS_SERVERROOT .br The root directory of the server. Index: scheduler/env.c =================================================================== --- scheduler/env.c (revision 10481) +++ scheduler/env.c (working copy) @@ -62,7 +62,7 @@ #if defined(__APPLE__) /* - * Add special voodoo magic for MacOS X - this allows MacOS X + * Add special voodoo magic for MacOS X - this allows MacOS X * programs to access their bundle resources properly... * * This string is replaced in cupsdStartProcess()... @@ -227,6 +227,8 @@ set_if_undefined("TZ", NULL); set_if_undefined("USER", "root"); set_if_undefined("VG_ARGS", NULL); + + cupsdSetEnvf("CUPS_MAX_MESSAGE", "%d", CUPSD_SB_BUFFER_SIZE - 1); }