mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +03:00
ANSI C compatibility adjustment
This commit is contained in:
parent
c3d1b07c45
commit
aac739ccd2
4 changed files with 7 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ char *GetEnv(const char *variable)
|
|||
char *env = getenv(variable);
|
||||
#ifdef VMS
|
||||
if(env && strcmp("HOME",variable) == 0)
|
||||
env = decc$translate_vms(env);
|
||||
env = decc_translate_vms(env);
|
||||
#endif
|
||||
return (env && env[0])?strdup(env):NULL;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ int Curl_parsenetrc(const char *host,
|
|||
pw= getpwuid(geteuid());
|
||||
if(pw) {
|
||||
#ifdef VMS
|
||||
home = decc$translate_vms(pw->pw_dir);
|
||||
home = decc_translate_vms(pw->pw_dir);
|
||||
#else
|
||||
home = pw->pw_dir;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue