diff options
Diffstat (limited to 'src/backend/port/alpha/port.c')
-rw-r--r-- | src/backend/port/alpha/port.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/backend/port/alpha/port.c b/src/backend/port/alpha/port.c new file mode 100644 index 00000000000..d7c17b0a5ba --- /dev/null +++ b/src/backend/port/alpha/port.c @@ -0,0 +1,34 @@ +/*------------------------------------------------------------------------- + * + * port.c-- + * OSF/1-specific routines + * + * Copyright (c) 1994, Regents of the University of California + * + * + * IDENTIFICATION + * $Header: /cvsroot/pgsql/src/backend/port/alpha/Attic/port.c,v 1.1.1.1 1996/07/09 06:21:42 scrappy Exp $ + * + *------------------------------------------------------------------------- + */ +#include <sys/types.h> +#include <sys/sysinfo.h> +#include <sys/proc.h> +#include "c.h" +#include "utils/elog.h" + +void +init_address_fixup() +{ +#ifdef NOFIXADE + int buffer[] = { SSIN_UACPROC, UAC_SIGBUS }; +#endif /* NOFIXADE */ +#ifdef NOPRINTADE + int buffer[] = { SSIN_UACPROC, UAC_NOPRINT }; +#endif /* NOPRINTADE */ + + if (setsysinfo(SSI_NVPAIRS, buffer, 1, (caddr_t) NULL, + (unsigned long) NULL) < 0) { + elog(NOTICE, "setsysinfo failed: %d\n", errno); + } +} |