]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Shared printers could become inaccessible after a few days on OS X (<rdar://problem...
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sun, 22 Dec 2013 05:04:29 +0000 (05:04 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Sun, 22 Dec 2013 05:04:29 +0000 (05:04 +0000)
Need to set TMPDIR so that the sandbox profiles are created in a safe temporary directory.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11487 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-1.7.txt
scheduler/conf.c

index 6e819927deeef001f431b4aa7e72388c9a302c84..2acff3fa42383ba73282043edb17364751a8bf9c 100644 (file)
@@ -26,6 +26,8 @@ CHANGES IN CUPS V1.7.1
        - "tel:" URIs incorrectly had slashes (<rdar://problem/15418463>)
        - The libusb-based USB backend incorrectly used write timeouts
          (<rdar://problem/15564888>)
+       - Shared printers could become inaccessible after a few days on OS X
+         (<rdar://problem/15426838>)
 
 
 CHANGES IN CUPS V1.7.0
index 8f91179fe8ad938f4b462ec3861904af9b32e183..5ea1be13fa74c0486d44343bc235c62f320cfb08 100644 (file)
@@ -1146,6 +1146,8 @@ cupsdReadConfiguration(void)
     cupsdSetStringf(&TempDir, "%s/tmp", RequestRoot);
   }
 
+  setenv("TMPDIR", TempDir, 1);
+
  /*
   * Make sure the temporary directory has the right permissions...
   */