From: msweet Date: Sun, 22 Dec 2013 05:04:41 +0000 (+0000) Subject: Mirror fix from trunk. X-Git-Tag: release-2.1.4~16^2~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd5ce0053ec672ce0cd062ada81b4831d9772b95;p=thirdparty%2Fcups.git Mirror fix from trunk. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.7@11488 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES.txt b/CHANGES.txt index 97ca5ee65a..11501ae712 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -26,6 +26,8 @@ CHANGES IN CUPS V1.7.1 - "tel:" URIs incorrectly had slashes () - The libusb-based USB backend incorrectly used write timeouts () + - Shared printers could become inaccessible after a few days on OS X + () CHANGES IN CUPS V1.7.0 diff --git a/scheduler/conf.c b/scheduler/conf.c index 0a23a24018..891abd1c58 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -1165,6 +1165,8 @@ cupsdReadConfiguration(void) cupsdSetStringf(&TempDir, "%s/tmp", RequestRoot); } + setenv("TMPDIR", TempDir, 1); + /* * Make sure the temporary directory has the right permissions... */