Changeset 203 for trunk/src/sh_gpg.c


Ignore:
Timestamp:
Dec 7, 2008, 7:26:17 PM (16 years ago)
Author:
katerina
Message:

Fix compile failures on RHEL3 (ticket #130) and FreeBSD7 amd64 (ticket #131).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_gpg.c

    r198 r203  
    257257  char   cc3[32];
    258258  char   cc4[SH_PATHBUF+32];
    259   char   cc5[32] = "--no-tty";
     259  char   cc5[32];
    260260#endif
    261261
     
    283283  /* sl_strlcpy (cc4,   sh.effective.home, SH_PATHBUF+32); */
    284284  sl_strlcpy (cc4,   homedir,           SH_PATHBUF+32);
    285   sl_strlcat (cc4,   _("/.gnupg"),      SH_PATHBUF+32);
     285  sl_strlcat (cc4,   _("/.gnupg"),      SH_PATHBUF+32);
     286  sl_strlcpy (cc5,   _("--no-tty"),     32);
    286287
    287288  /* fprintf(stderr, "YULE: homedir=%s\n", homedir); */
     
    416417      envp[0] = malloc (len); /* free() ok   */
    417418      if (envp[0] != NULL)
    418         sl_snprintf (envp[0], len, "HOME=%s", sh.effective.home);
     419        sl_snprintf (envp[0], len, _("HOME=%s"), sh.effective.home);
    419420      envp[1] = NULL;
    420421    }
Note: See TracChangeset for help on using the changeset viewer.