| commit | d04f8e24716d5acca6a7d116b63851adc1506845 | [log] [tgz] |
|---|---|---|
| author | Gilad Arnold <garnold@chromium.org> | Thu Jan 09 13:13:40 2014 -0800 |
| committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Tue Jan 14 00:13:14 2014 +0000 |
| tree | 89dbabd80574d26eefe62198f9adc9cf0e6a0814 | |
| parent | 8c75ea9f2bc9c42d6ce30abb4b93a2930a5d4bce [diff] |
AU: prepend TMPDIR when creating a temp file/directory
This changes the behavior of utils::MakeTemp{File,Directory} to prepend
TMPDIR (or /tmp, if not defined) to the given path template. That is,
unless the user provided an absolute path, or a path that is explicitly
relative to the current directory (starts with ./ or ../).
BUG=chromium:253622
TEST=None
Change-Id: Ibe11b279f8f4e9ba97bb2d44867595f76bbf632a
Reviewed-on: https://chromium-review.googlesource.com/182098
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>