mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:33:33 +03:00
Gisle Vanem's djgpp/MS-DOS updates
This commit is contained in:
parent
712d0374f7
commit
126ed14313
7 changed files with 202 additions and 135 deletions
|
|
@ -64,6 +64,10 @@ static void internalSetEnv(const char * name, char * value)
|
|||
/* Add your OS-specific code here. */
|
||||
#ifdef __riscos__
|
||||
_kernel_setenv(name, value);
|
||||
#elif defined (CURLDEBUG)
|
||||
extern FILE *curl_debuglogfile;
|
||||
if (curl_debuglogfile)
|
||||
fprintf (curl_debuglogfile, "ENV %s = %s\n", name, value);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
|
@ -100,6 +104,8 @@ void ourWriteEnv(CURL *curl)
|
|||
else
|
||||
internalSetEnv(variables[i].name, NULL);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue