mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-05 20:16:32 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user