Loading lib/getenv.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading lib/netrc.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 packages/vms/config-vms.h +3 −0 Original line number Diff line number Diff line Loading @@ -355,3 +355,6 @@ /* Define to the function return type for send. */ #define SEND_TYPE_RETV int /* Define to hide dollar sign from compilers in strict ansi mode. */ #define decc_translate_vms(__s) decc$translate_vms(__s) src/homedir.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ char *GetEnv(const char *variable, char do_expand) #ifdef VMS env = getenv(variable); if (env && strcmp("HOME",variable) == 0) { env = decc$translate_vms(env); env = decc_translate_vms(env); } #else /* no length control */ Loading Loading @@ -100,7 +100,7 @@ char *homedir(void) 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 Loading
lib/getenv.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
lib/netrc.c +1 −1 Original line number Diff line number Diff line Loading @@ -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
packages/vms/config-vms.h +3 −0 Original line number Diff line number Diff line Loading @@ -355,3 +355,6 @@ /* Define to the function return type for send. */ #define SEND_TYPE_RETV int /* Define to hide dollar sign from compilers in strict ansi mode. */ #define decc_translate_vms(__s) decc$translate_vms(__s)
src/homedir.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ char *GetEnv(const char *variable, char do_expand) #ifdef VMS env = getenv(variable); if (env && strcmp("HOME",variable) == 0) { env = decc$translate_vms(env); env = decc_translate_vms(env); } #else /* no length control */ Loading Loading @@ -100,7 +100,7 @@ char *homedir(void) 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