~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to src/homedir.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: homedir.c,v 1.10 2007-11-01 21:49:59 bagder Exp $
 
21
 * $Id: homedir.c,v 1.11 2008-09-12 11:18:18 yangtse Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
71
71
#ifdef  VMS
72
72
  env = getenv(variable);
73
73
  if (env && strcmp("HOME",variable) == 0) {
74
 
        env = decc$translate_vms(env);
 
74
        env = decc_translate_vms(env);
75
75
  }
76
76
#else
77
77
  /* no length control */
100
100
 
101
101
   if (pw) {
102
102
#ifdef VMS
103
 
     home = decc$translate_vms(pw->pw_dir);
 
103
     home = decc_translate_vms(pw->pw_dir);
104
104
#else
105
105
     home = pw->pw_dir;
106
106
#endif