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
- "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
cupsdSetStringf(&TempDir, "%s/tmp", RequestRoot);
}
+ setenv("TMPDIR", TempDir, 1);
+
/*
* Make sure the temporary directory has the right permissions...
*/