From aed0cc6f2a9a7fdaae08ad6700687f7200b4ebaa Mon Sep 17 00:00:00 2001 From: James Housley Date: Thu, 28 Jun 2007 11:11:29 +0000 Subject: 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(). --- tests/memanalyze.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/memanalyze.pl') 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() { $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)") { ; } -- cgit v1.2.3