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().
This commit is contained in:
James Housley
2007-06-28 11:11:29 +00:00
parent d500c468fc
commit aed0cc6f2a
4 changed files with 16 additions and 3 deletions

View File

@@ -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)") {
;
}