[Webkit-unassigned] [Bug 107959] NRWT should set TMPDIR and delete it after DRT has finished

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 25 11:04:40 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107959





--- Comment #2 from Tony Chang <tony at chromium.org>  2013-01-25 11:06:34 PST ---
On bug 107905, eric said:

> Yeah, I briefly considered this, but wasn't sure how well the TMPDIR environment variable would be support by all the code we care about. :)  I'm sure some parts hard-code /tmp.

It's probably rare in the Chromium code to hard code /tmp since that wouldn't work on Windows.

To clarify, setting TMPDIR will work on Linux only.  On Windows, we would have to set TEMP, on OSX, I'm not sure.  This code is controlled by the GetTempDir functions in chromium's base:
http://git.chromium.org/gitweb/?p=chromium/chromium.git;a=blob;f=base/file_util_posix.cc;h=0ffa6247a2f048b8039161d8eaf56e9d55097505;hb=HEAD#l921
http://git.chromium.org/gitweb/?p=chromium/chromium.git;a=blob;f=base/file_util_mac.mm;h=0638167b77d22d840e35176c2ff603bee277f75c;hb=HEAD#l18
http://git.chromium.org/gitweb/?p=chromium/chromium.git;a=blob;f=base/file_util_win.cc;h=2fd2399aa6391c2021edba9336ed89b7aa624d3c;hb=HEAD#l305

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list