Remove UXPDS support

This commit is contained in:
chase
2018-05-15 20:11:08 -05:00
committed by Jon Trulson
parent 0f8233dadd
commit 8a4f389634
319 changed files with 317 additions and 8776 deletions

View File

@@ -38,7 +38,7 @@
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#if !defined(USL) && !defined(sun)
#include <osfcn.h>
#endif
#endif
@@ -49,7 +49,7 @@
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <sys/stat.h>
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
#endif
#include <sys/wait.h>

View File

@@ -38,7 +38,7 @@
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#if !defined(USL) && !defined(sun)
#include <osfcn.h>
#endif
#endif
@@ -49,7 +49,7 @@
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
#endif
#include <sys/stat.h>
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
#endif
#include <sys/wait.h>

View File

@@ -45,9 +45,9 @@
#if defined(sgi) || defined(CSRG_BASED)
#include <getopt.h>
#endif
#if defined(USL) || defined(__uxp__)
#if defined(USL)
#include "tt_options.h"
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
extern "C" int getopt(int, char *const *, const char *);
#endif
#endif

View File

@@ -50,11 +50,9 @@
#include <unistd.h>
#include <ctype.h>
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_UW_2)
extern "C" {
#ifndef __uxp__
int putenv(char *);
#endif
FILE *popen(const char *, const char *);
FILE *fdopen(int, const char *);
int pclose(FILE *);

View File

@@ -80,7 +80,7 @@ char **global_envp;
// This is the PID or TID of the procedure that is
// performing the garbage collection.
//
#if defined(USL) || defined(__uxp__)
#if defined(USL)
int _tt_garbage_id = 0; // TID or PID.
#else
int _tt_garbage_id = -1; // TID or PID.
@@ -2737,7 +2737,7 @@ _tt_run_garbage_collect(int in_parallel)
//
// FORK and EXEC ourself '-G'.
//
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_USL)
#define vfork fork
#endif
switch (_tt_garbage_id = (int)vfork()) {

View File

@@ -40,7 +40,7 @@
#if defined(__osf__) || defined(linux) || defined(sun) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#if !defined(USL) && !defined(sun)
#include <osfcn.h>
#endif
#endif
@@ -52,7 +52,7 @@
#include "tt_options.h"
#include "archiver.h"
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
#include <unistd.h>
#endif

View File

@@ -45,7 +45,7 @@
#include <dirent.h>
#include "tttar_utils.h"
#include "tttar_file_utils.h"
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
#endif

View File

@@ -35,13 +35,13 @@
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#if defined (USL) || defined(__uxp__)
#if defined (USL)
#include "tt_options.h"
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
#if defined(OPT_BUG_USL)
#include <unistd.h>
#else
#include <osfcn.h>
#endif /* if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP) */
#endif /* if defined(OPT_BUG_USL) */
#else
#include <osfcn.h>
#endif