mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-03 13:14:45 +01: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:
parent
1c3f79dfeb
commit
43c933d7f8
13 changed files with 669 additions and 412 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue