mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Minor changes to help the VMS port
This commit is contained in:
parent
9921fb3a8c
commit
aa29ba1689
19 changed files with 232 additions and 21 deletions
14
g10/misc.c
14
g10/misc.c
|
@ -54,6 +54,10 @@
|
|||
#include "dynload.h"
|
||||
#endif /*_WIN32*/
|
||||
|
||||
#ifdef __VMS
|
||||
# include <time.h>
|
||||
#endif /* def __VMS */
|
||||
|
||||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "photoid.h"
|
||||
|
@ -106,7 +110,7 @@ trap_unaligned(void)
|
|||
int
|
||||
disable_core_dumps()
|
||||
{
|
||||
#ifdef HAVE_DOSISH_SYSTEM
|
||||
#if defined(HAVE_DOSISH_SYSTEM) || defined(__VMS)
|
||||
return 0;
|
||||
#else
|
||||
#ifdef HAVE_SETRLIMIT
|
||||
|
@ -1333,7 +1337,11 @@ get_libexecdir (void)
|
|||
return GNUPG_LIBEXECDIR;
|
||||
}
|
||||
|
||||
/* Similar to access(2), but uses PATH to find the file. */
|
||||
/* Similar to access(2), but uses PATH to find the file.
|
||||
|
||||
(2006-07-08 SMS: See "vmslib/vms.c" for a VMS-specific replacement
|
||||
function) */
|
||||
#ifndef __VMS
|
||||
int
|
||||
path_access(const char *file,int mode)
|
||||
{
|
||||
|
@ -1376,3 +1384,5 @@ path_access(const char *file,int mode)
|
|||
|
||||
return ret;
|
||||
}
|
||||
#endif /*ndef __VMS*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue