Remove UXPDS support
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 *);
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user