aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac/dump_syms.mm
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-04-05 19:44:29 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-04-05 19:44:29 +0000
commit375931a680186d408e77004e9cee8c03934153d8 (patch)
treeeb28595f93fd166dc1137fcedecee1bd0b5951a0 /src/common/mac/dump_syms.mm
parentFix temp file leak. Patch by Thomas Thiriez. r=me (diff)
downloadbreakpad-375931a680186d408e77004e9cee8c03934153d8.tar.xz
Revert previous patch, see google-breakpad-dev
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@142 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/mac/dump_syms.mm')
-rw-r--r--src/common/mac/dump_syms.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/mac/dump_syms.mm b/src/common/mac/dump_syms.mm
index e2afc724..13368292 100644
--- a/src/common/mac/dump_syms.mm
+++ b/src/common/mac/dump_syms.mm
@@ -166,7 +166,6 @@ static BOOL StringTailMatches(NSString *str, NSString *tail) {
char buffer[PATH_MAX];
snprintf(buffer, sizeof(buffer), "/tmp/dump_syms_filtXXXXX");
int fd = mkstemp(buffer);
- unlink(buffer);
char nl = '\n';
for (unsigned int i = 0; i < count; ++i) {
const char *symbol = [[symbols objectAtIndex:i] UTF8String];