diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-08-09 22:59:58 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-08-09 22:59:58 +0000 |
commit | 43c933d7f8e490d9dbf3f939f3b2f095a170dc84 (patch) | |
tree | 153b8e0393f5e9f9f7edcf7f1d905cfd58571bad /src/common/tests/auto_tempdir.h | |
parent | Clean up warnings about narrowing conversion (diff) | |
download | breakpad-43c933d7f8e490d9dbf3f939f3b2f095a170dc84.tar.xz |
Adding a way to create an ExceptionHandler that takes in a file descriptor
where the minidump should be created, without the need of opening any other
file.
BUG=None
TEST=Run unit-tests.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1007 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/tests/auto_tempdir.h')
-rw-r--r-- | src/common/tests/auto_tempdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tests/auto_tempdir.h b/src/common/tests/auto_tempdir.h index 9c84177c..a54bc053 100644 --- a/src/common/tests/auto_tempdir.h +++ b/src/common/tests/auto_tempdir.h @@ -51,7 +51,7 @@ namespace google_breakpad { class AutoTempDir { public: AutoTempDir() { - char temp_dir[] = TEMPDIR "/breakpad.XXXXXXXXXX"; + char temp_dir[] = TEMPDIR "/breakpad.XXXXXX"; EXPECT_TRUE(mkdtemp(temp_dir) != NULL); path_.assign(temp_dir); } |