From 47664af25e0a51d944f1ae3ff2d4e61ba122a2b8 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Mon, 18 Aug 2003 05:07:31 +0000 Subject: [PATCH] Accept trace-malloc stack format as well. git-svn-id: svn://10.0.0.236/trunk@146152 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/rb/fix-linux-stack.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/tools/rb/fix-linux-stack.pl b/mozilla/tools/rb/fix-linux-stack.pl index 2ae216e9b91..1749ec9d993 100755 --- a/mozilla/tools/rb/fix-linux-stack.pl +++ b/mozilla/tools/rb/fix-linux-stack.pl @@ -54,7 +54,7 @@ use IPC::Open2; my %pipes; while (<>) { my $line = $_; - if ($line =~ /^([ \|0-9-]*)(.*) \[([^ ]*) \+(0x[0-9A-F]{8})\](.*)$/) { + if ($line =~ /^([ \|0-9-]*)(.*) ?\[([^ ]*) \+(0x[0-9A-F]{1,8})\](.*)$/) { my $before = $1; # allow preservation of balance trees my $badsymbol = $2; my $file = $3;