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

@@ -1068,7 +1068,7 @@ int SPC_Setpgrp(int read_current_termio)
return(SPC_ERROR);
}
#if !defined(USL) && !defined(__uxp__)
#if !defined(USL)
if(tcsetattr(setpgrp_wire->fd[SLAVE_SIDE], TCSANOW, XeTermioStruct)==ERROR) {
SPC_Error(SPC_Bad_tc_Call,(XeString)"tcsetattr");
_DtSvcProcessUnlock();

View File

@@ -1030,7 +1030,7 @@ _DtCmdCommandInvokerExecute (
#ifdef _SUN_OS
open_max = NOFILE;
#else
#if defined(USL) || defined(__uxp__) || defined(_AIX)
#if defined(USL) || defined(_AIX)
open_max = FOPEN_MAX;
#else
open_max = FD_SETSIZE;

View File

@@ -41,7 +41,7 @@
#include <Dt/ActionUtilP.h>
#include "myassertP.h"
#if defined(sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(USL)
#include <limits.h>
#endif

View File

@@ -53,7 +53,7 @@
#include <ndir.h>
#else
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
#if defined(sun) || defined(USL) || defined(sco)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@@ -51,7 +51,7 @@
#include <ndir.h>
#else
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
#if defined(sun) || defined(USL) || defined(sco)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@@ -40,7 +40,7 @@
#ifdef __hpux
#include <ndir.h> /* opendir(), directory(3C) */
#else
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
#if defined(sun) || defined(USL) || defined(sco)
#include <dirent.h> /* opendir(), directory(3C) */
#else
#include <sys/dir.h>

View File

@@ -38,7 +38,7 @@
#ifdef __hpux
#include <ndir.h>
#else
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
#if defined(sun) || defined(USL) || defined(sco)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@@ -54,7 +54,7 @@ $END$
#endif
#include <langinfo.h>
#if defined(sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(USL)
#include <regexpr.h> /* for compile,advance */
#else
#include <regex.h> /* for regcomp,regexec */
@@ -125,7 +125,7 @@ typedef enum {
__DtXLATE_TYPE_CONTAINS = 4
} __DtXlateType;
#if defined(sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(USL)
/* Sun doesn't support regcomp() and regexec() yet, so
define this here and fill it will the results of advance() */
typedef struct regmatch_t {
@@ -1127,7 +1127,7 @@ Boolean CheckSearchOpValueMatchesSpec(
value or do a pure match */
if (srchData->curTransType == __DtXLATE_TYPE_REGEX)
{
#if defined(sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(USL)
char * ex = NULL;
/* True: leave escape char in place */
@@ -2199,7 +2199,7 @@ int _DtXlateGetXlateEnv(
/* then look up version number of execution host */
if (ret_AppExecEnvVersion)
{
#if defined(sun) || defined(_AIX) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(sun) || defined(_AIX) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
char version[SYS_NMLN+SYS_NMLN+2];
#else
char version[UTSLEN+UTSLEN+2];

View File

@@ -230,7 +230,7 @@
# ifdef __sun
# include <sys/time.h>
# endif
#if defined(USL) || defined(__uxp__)
#if defined(USL)
# include <sys/time.h>
# endif
# ifdef __apollo
@@ -255,7 +255,7 @@
# include <sys/select.h>
# endif
/*
# if defined(USL) || defined(__uxp__)
# if defined(USL)
# include <sys/select.h>
# endif
*/
@@ -293,7 +293,7 @@
/* about above. So, declare them only if we don't already have them */
/* ----------------------------------------------------------------- */
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(USL) || defined(_INCLUDE_BSD_SOURCE) || defined(_OSF_SOURCE) || defined(__aix) || defined(__uxp__) || defined(__osf__) || defined(linux)
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(USL) || defined(_INCLUDE_BSD_SOURCE) || defined(_OSF_SOURCE) || defined(__aix) || defined(__osf__) || defined(linux)
/* the "u_types" are defined in standard files */
# undef _INCLUDE_BSD_SOURCE
#else

View File

@@ -39,7 +39,7 @@
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <generic.h>
#endif
#if defined(USL) || defined(__uxp__) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
#if defined(USL) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
#define _DELETE_ARRAY(sz) delete[]
#else
#define _DELETE_ARRAY(sz) delete[(sz)]

View File

@@ -32,7 +32,7 @@
#ifndef __MBSTRING_H_
#define __MBSTRING_H_
#if defined(USL) || defined(__uxp__)
#if defined(USL)
#include <stdlib.h>
#endif

View File

@@ -125,14 +125,14 @@ extern size_t nl_strlen(); /* __OBSOLETE */
#if defined(__cplusplus)
}
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <stdlib.h>
#else
#include <malloc.h>
#endif /* apollo */
inline char *strnew(size_t len) { return (char*)malloc(len + 1); }
#if defined(sun) || defined(__sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(__sun) || defined(USL)
inline void strfree(const char *s)
{ if (s != NULL) free((char *)s); }
#else