mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
VMS fixes
This commit is contained in:
parent
5b99bbc88e
commit
41f5b0a402
@ -1,3 +1,8 @@
|
||||
2010-10-10 Werner Koch <wk@g10code.com>
|
||||
|
||||
* configure.ac (AH_BOTTOM): Add GNUPG_BAK_SFX and GNUPG_TMP_SFX.
|
||||
Define GNUPG_HOMEDIR et al for VMS.
|
||||
|
||||
2010-10-05 Werner Koch <wk@g10code.com>
|
||||
|
||||
* configure.ac: Remove check for the faqprog.
|
||||
|
15
configure.ac
15
configure.ac
@ -25,8 +25,8 @@ min_automake_version="1.9.3"
|
||||
# Remember to change the version number immediately *after* a release.
|
||||
# Set my_issvn to "yes" for non-released code. Remember to run an
|
||||
# "svn up" and "autogen.sh --force" right before creating a distribution.
|
||||
m4_define([my_version], [1.4.11rc1])
|
||||
m4_define([my_issvn], [no])
|
||||
m4_define([my_version], [1.4.11])
|
||||
m4_define([my_issvn], [yes])
|
||||
m4_define([svn_revision], m4_esyscmd([printf "%d" $(svn info 2>/dev/null \
|
||||
| sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)]))
|
||||
AC_INIT([gnupg],
|
||||
@ -460,6 +460,14 @@ is intended for making fat binary builds on OS X. */
|
||||
# define PATHSEP_S ":"
|
||||
#endif
|
||||
|
||||
#ifdef __VMS
|
||||
# define GNUPG_BAK_SFX "_bak"
|
||||
# define GNUPG_TMP_SFX "_tmp"
|
||||
#else /*!def __VMS */
|
||||
# define GNUPG_BAK_SFX "~"
|
||||
# define GNUPG_TMP_SFX EXTSEP_S "tmp"
|
||||
#endif /* def __VMS [else] */
|
||||
|
||||
|
||||
/* For some OSes we need to use fixed strings for certain directories. */
|
||||
#ifdef HAVE_DRIVE_LETTERS
|
||||
@ -470,7 +478,10 @@ is intended for making fat binary builds on OS X. */
|
||||
# define GNUPG_HOMEDIR "c:\\\\gnupg"
|
||||
#else
|
||||
# ifdef __VMS
|
||||
# define GNUPG_DATADIR "/SYS$MANAGER/gnupg_share"
|
||||
# define GNUPG_HOMEDIR "/SYS$LOGIN/gnupg"
|
||||
# define GNUPG_LIBDIR "/SYS$MANAGER/gnupg_share"
|
||||
# define GNUPG_LIBEXECDIR ""
|
||||
# else
|
||||
# define GNUPG_HOMEDIR "~/.gnupg"
|
||||
# endif
|
||||
|
@ -1,3 +1,7 @@
|
||||
2010-10-10 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyring.c (create_tmp_file): Use GNUPG_TMP_SFX anf GNUPG_BAK_SFX.
|
||||
|
||||
2010-09-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* options.skel: Make the example for force-v3-sigs match
|
||||
|
@ -1182,11 +1182,11 @@ create_tmp_file (const char *template,
|
||||
strcpy (stpcpy(tmpfname, template), EXTSEP_S "tmp");
|
||||
}
|
||||
# else /* Posix file names */
|
||||
bakfname = xmalloc (strlen( template ) + 2);
|
||||
strcpy (stpcpy (bakfname,template),"~");
|
||||
bakfname = xmalloc (strlen (template) + sizeof (GNUPG_BAK_SFX) + 1);
|
||||
strcpy (stpcpy (bakfname, template), GNUPG_BAK_SFX);
|
||||
|
||||
tmpfname = xmalloc (strlen( template ) + 5);
|
||||
strcpy (stpcpy(tmpfname,template), EXTSEP_S "tmp");
|
||||
tmpfname = xmalloc (strlen (template) + sizeof (GNUPG_TMP_SFX) + 1 );
|
||||
strcpy (stpcpy(tmpfname, template), GNUPG_TMP_SFX);
|
||||
# endif /* Posix filename */
|
||||
|
||||
/* Create the temp file with limited access */
|
||||
|
Loading…
x
Reference in New Issue
Block a user