Remove Unixware and openserver 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(sun)
|
||||
#if !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -49,9 +49,6 @@
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
#include "api/c/tt_c.h"
|
||||
#include "util/tt_gettext.h"
|
||||
|
||||
@@ -37,10 +37,8 @@
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#ifndef USL
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
#if defined(OPT_BUG_SUNOS_4)
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(sun)
|
||||
#if !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -49,9 +49,6 @@
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
#include "api/c/tt_c.h"
|
||||
#include "util/tt_path.h"
|
||||
|
||||
@@ -45,12 +45,6 @@
|
||||
#if defined(sgi) || defined(CSRG_BASED)
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
#if defined(USL)
|
||||
#include "tt_options.h"
|
||||
#if defined(OPT_BUG_USL)
|
||||
extern "C" int getopt(int, char *const *, const char *);
|
||||
#endif
|
||||
#endif
|
||||
#include "mp/mp_global.h"
|
||||
#include "mp/mp_mp.h"
|
||||
#include "mp_otype.h"
|
||||
|
||||
@@ -50,15 +50,6 @@
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
extern "C" {
|
||||
int putenv(char *);
|
||||
FILE *popen(const char *, const char *);
|
||||
FILE *fdopen(int, const char *);
|
||||
int pclose(FILE *);
|
||||
}
|
||||
#endif
|
||||
|
||||
#define TT_TYPE_TABLE_BUCKETS 19
|
||||
|
||||
static int use_cpp;
|
||||
|
||||
@@ -80,12 +80,7 @@ char **global_envp;
|
||||
// This is the PID or TID of the procedure that is
|
||||
// performing the garbage collection.
|
||||
//
|
||||
#if defined(USL)
|
||||
int _tt_garbage_id = 0; // TID or PID.
|
||||
#else
|
||||
int _tt_garbage_id = -1; // TID or PID.
|
||||
#endif
|
||||
|
||||
int _tt_run_garbage_collect(int in_parallel);
|
||||
|
||||
static const char * sesProp = _TT_FILEJOIN_PROPNAME;
|
||||
@@ -2737,7 +2732,7 @@ _tt_run_garbage_collect(int in_parallel)
|
||||
//
|
||||
// FORK and EXEC ourself '-G'.
|
||||
//
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_USL)
|
||||
#if defined(OPT_BUG_AIX)
|
||||
#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(sun)
|
||||
#if !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -52,10 +52,6 @@
|
||||
#include "tt_options.h"
|
||||
#include "archiver.h"
|
||||
|
||||
#if defined(OPT_BUG_USL)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
TT_INSERT_COPYRIGHT
|
||||
|
||||
#ifdef OPT_PATCH
|
||||
|
||||
@@ -36,10 +36,8 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#ifndef USL
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
#include <sys/param.h>
|
||||
#include "api/c/api_api.h"
|
||||
#include "api/c/tt_c.h"
|
||||
|
||||
@@ -45,9 +45,6 @@
|
||||
#include <dirent.h>
|
||||
#include "tttar_utils.h"
|
||||
#include "tttar_file_utils.h"
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
|
||||
extern char *_tt_get_realpath(char *, char *);
|
||||
|
||||
|
||||
@@ -35,16 +35,7 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if defined (USL)
|
||||
#include "tt_options.h"
|
||||
#if defined(OPT_BUG_USL)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif /* if defined(OPT_BUG_USL) */
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
#include "api/c/tt_c.h"
|
||||
#include "util/tt_iostream.h"
|
||||
|
||||
Reference in New Issue
Block a user