Gisle Vanem's djgpp/MS-DOS updates

This commit is contained in:
Daniel Stenberg 2004-03-29 12:29:25 +00:00
parent 712d0374f7
commit 126ed14313
7 changed files with 202 additions and 135 deletions

View file

@ -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;
}
}