mirror of
https://github.com/curl/curl.git
synced 2026-07-30 18:28:08 +03:00
memdebug: make debug-specific functions use curl_dbg_ prefix
To not "collide" or use up the regular curl_ name space. Also makes them easier to detect in helper scripts. Closes #3656
This commit is contained in:
parent
50afa478e1
commit
76b6348949
7 changed files with 149 additions and 167 deletions
|
|
@ -145,22 +145,6 @@ my %api = (
|
|||
|
||||
# the following funcions are provided globally in debug builds
|
||||
'curl_easy_perform_ev' => 'debug-build',
|
||||
'curl_memdebug' => 'debug-build',
|
||||
'curl_memlimit' => 'debug-build',
|
||||
'curl_memlog' => 'debug-build',
|
||||
'curl_accept' => 'debug-build',
|
||||
'curl_docalloc' => 'debug-build',
|
||||
'curl_dofree' => 'debug-build',
|
||||
'curl_domalloc' => 'debug-build',
|
||||
'curl_dorealloc' => 'debug-build',
|
||||
'curl_dorecv' => 'debug-build',
|
||||
'curl_dosend' => 'debug-build',
|
||||
'curl_dostrdup' => 'debug-build',
|
||||
'curl_fclose' => 'debug-build',
|
||||
'curl_fopen' => 'debug-build',
|
||||
'curl_sclose' => 'debug-build',
|
||||
'curl_socket' => 'debug-build',
|
||||
'curl_socketpair' => 'debug-build',
|
||||
);
|
||||
|
||||
open(N, "nm $file|") ||
|
||||
|
|
@ -202,6 +186,9 @@ for(sort keys %exist) {
|
|||
$err++;
|
||||
}
|
||||
}
|
||||
elsif($_ =~ /^curl_dbg_/) {
|
||||
# we ignore the memdebug symbols
|
||||
}
|
||||
elsif($wl{$_}) {
|
||||
#print "$_ is WL\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue