aboutsummaryrefslogtreecommitdiff
path: root/tests/memanalyze.pl
diff options
context:
space:
mode:
authorJames Housley <jim@thehousleys.net>2007-06-28 11:11:29 +0000
committerJames Housley <jim@thehousleys.net>2007-06-28 11:11:29 +0000
commitaed0cc6f2a9a7fdaae08ad6700687f7200b4ebaa (patch)
tree5ef37d17b276e70f2b924243d6058d4681b8d02a /tests/memanalyze.pl
parentd500c468fc99816a7bdd817404aa489b065ae64d (diff)
Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
file.c, but the debug interface was missing. This adds the routines needed to make the memory debuging work for fdopen().
Diffstat (limited to 'tests/memanalyze.pl')
-rwxr-xr-xtests/memanalyze.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/memanalyze.pl b/tests/memanalyze.pl
index b6bc96714..763f9a3b9 100755
--- a/tests/memanalyze.pl
+++ b/tests/memanalyze.pl
@@ -237,7 +237,7 @@ while(<FILE>) {
$linenum = $2;
$function = $3;
- if($function =~ /fopen\(\"([^\"]*)\",\"([^\"]*)\"\) = (\(nil\)|0x([0-9a-f]*))/) {
+ if($function =~ /f[d]*open\(\"([^\"]*)\",\"([^\"]*)\"\) = (\(nil\)|0x([0-9a-f]*))/) {
if($3 eq "(nil)") {
;
}