mirror of
https://github.com/curl/curl.git
synced 2026-08-06 22:26:14 +03:00
Make the debug build get the debug dump file path from the environment
variable to allow the test suite to better control where it ends up.
This commit is contained in:
parent
ade1e79b37
commit
289a42f050
2 changed files with 4 additions and 3 deletions
|
|
@ -2933,8 +2933,9 @@ operate(struct Configurable *config, int argc, char *argv[])
|
|||
/* this sends all memory debug messages to a logfile named memdump */
|
||||
env = curlx_getenv("CURL_MEMDEBUG");
|
||||
if(env) {
|
||||
/* use the value as file name */
|
||||
curl_memdebug(env);
|
||||
curl_free(env);
|
||||
curl_memdebug("memdump");
|
||||
}
|
||||
env = curlx_getenv("CURL_MEMLIMIT");
|
||||
if(env) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue