~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to lib/getenv.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 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: getenv.c,v 1.31 2007-11-07 09:21:35 bagder Exp $
 
21
 * $Id: getenv.c,v 1.32 2008-09-12 11:18:17 yangtse Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
53
53
  char *env = getenv(variable);
54
54
#ifdef VMS
55
55
  if(env && strcmp("HOME",variable) == 0)
56
 
    env = decc$translate_vms(env);
 
56
    env = decc_translate_vms(env);
57
57
#endif
58
58
  return (env && env[0])?strdup(env):NULL;
59
59
#endif