Remove UXPDS support
This commit is contained in:
@@ -268,7 +268,7 @@ startup_ttsession(_Tt_string &start_ttcmd)
|
||||
#endif
|
||||
SIG_PF istat, qstat, cstat;
|
||||
|
||||
#if defined(_AIX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(_AIX) || defined(OPT_BUG_USL)
|
||||
#define vfork fork
|
||||
#endif
|
||||
if((pid = vfork()) == 0) {
|
||||
|
||||
@@ -310,7 +310,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
if (timeout <= 0)
|
||||
{
|
||||
outproc = (xdrproc_t) NULL;
|
||||
@@ -328,7 +328,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
#if defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_UW_1)
|
||||
if ((SIG_TYP)curr_action.sa_handler == SIG_DFL)
|
||||
#else
|
||||
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
if ((void(*)(int))curr_action.sa_handler == SIG_DFL)
|
||||
#else
|
||||
if (curr_action.sa_handler == SIG_DFL)
|
||||
@@ -357,7 +357,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
outproc, out,
|
||||
total_timeout);
|
||||
}
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
if (timeout <= 0)
|
||||
{
|
||||
total_timeout.tv_sec = 10;
|
||||
|
||||
@@ -80,9 +80,6 @@
|
||||
* OPT_BUG_SGI -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in SGI IRIX.
|
||||
*
|
||||
* OPT_BUG_UXP -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in Fujitsu's UXP.
|
||||
*
|
||||
* OPT_BUG_USL -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in UnixWare, etc.
|
||||
*
|
||||
@@ -457,44 +454,6 @@
|
||||
# define OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# define OPT_HAS_REALPATH
|
||||
|
||||
#elif defined(__uxp__)
|
||||
# if !defined(__STDIO_H)
|
||||
# include <stdio.h>
|
||||
# endif
|
||||
# undef OPT_UNIX_SOCKET_RPC
|
||||
# define OPT_TLI
|
||||
# if defined(PROF) /* can't use dlopen if profiling. */
|
||||
# undef OPT_DLOPEN_X11
|
||||
# undef OPT_DLOPEN_CE
|
||||
# else
|
||||
# define OPT_DLOPEN_X11
|
||||
# define OPT_DLOPEN_CE
|
||||
# endif
|
||||
# undef OPT_ADDMSG_DIRECT
|
||||
# undef OPT_SECURE_RPC
|
||||
# undef OPT_CLASSING_ENGINE
|
||||
# undef OPT_BSD_SIGNAL
|
||||
# define OPT_POSIX_SIGNAL
|
||||
# undef OPT_BSD_WAIT
|
||||
# undef OPT_DGETTEXT
|
||||
# define OPT_CATGETS
|
||||
# undef OPT_GETDTABLESIZE
|
||||
# define OPT_SYSINFO
|
||||
# define OPT_STRERROR
|
||||
# define OPT_CPP_PATH "/usr/ccs/lib/cpp"
|
||||
# define OPT_CPP_OPTIONS ""
|
||||
# define OPT_SVR4_GETMNTENT
|
||||
/* the reason for locking MNTENT is to sync with the Solaris automounter,
|
||||
* which doesn't apply on UnixWare. It probably wouldn't hurt to
|
||||
* do the lockf there, but things seem to be working without it...
|
||||
*/
|
||||
# undef OPT_LOCKF_MNTENT
|
||||
# define OPT_BUG_UXP
|
||||
# define OPT_LOCAL_MOUNT_TYPE "vxfs"
|
||||
# define OPT_DEFINE_SIG_PF
|
||||
# define OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# define OPT_HAS_REALPATH
|
||||
|
||||
#elif defined(__osf__)
|
||||
# define OPT_UNIX_SOCKET_RPC
|
||||
# undef OPT_TLI
|
||||
|
||||
@@ -48,7 +48,7 @@ extern "C" in_addr_t inet_addr(const char *);
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#if !defined(USL) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf */
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined (USL) && !defined(__uxp__) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#if !defined (USL) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
@@ -46,9 +46,9 @@
|
||||
#define XOS_USE_XT_LOCKING
|
||||
#include <X11/Xos_r.h>
|
||||
|
||||
#if defined (USL) || defined(__uxp__)
|
||||
#if defined (USL)
|
||||
#include <tt_options.h>
|
||||
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#undef rindex
|
||||
#endif
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) ((mode & 0xF000) == S_IFLNK)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ _tt_sigset(
|
||||
struct sigaction act;
|
||||
#if defined(OPT_BUG_SUNOS_5)
|
||||
act.sa_sigaction = (void (*)(int, siginfo_t *, void *)) handler;
|
||||
#elif defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_USL)
|
||||
act.sa_handler = (void (*)()) handler;
|
||||
#else
|
||||
act.sa_handler = handler;
|
||||
@@ -377,7 +377,7 @@ _tt_vsyslog(
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP) || defined(__osf__)
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX) || defined(OPT_BUG_USL) || defined(__osf__)
|
||||
char buf[5000];
|
||||
vsprintf( buf, _format, args );
|
||||
syslog( priority, buf );
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
typedef void (*SIG_PF)(int);
|
||||
#endif
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#if !defined(MNTTYPE_NFS)
|
||||
#define MNTTYPE_NFS "nfs"
|
||||
#endif
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
extern "C" {
|
||||
#include <wchar.h>
|
||||
};
|
||||
#elif defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_USL)
|
||||
#include <widec.h>
|
||||
#include <wctype.h>
|
||||
#elif defined(OPT_BUG_AIX)
|
||||
|
||||
@@ -147,7 +147,7 @@ _Tt_xdr_size_stream() {
|
||||
ops.x_putlong = tt_x_putlong;
|
||||
ops.x_putbytes = tt_x_putbytes;
|
||||
ops.x_inline = (inline_t *(*)(...))tt_x_inline;
|
||||
#elif defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_USL)
|
||||
ops.x_putlong = tt_x_putlong;
|
||||
ops.x_putbytes = (bool_t (*)(XDR *, caddr_t, u_int)) tt_x_putbytes;
|
||||
#if defined(OPT_BUG_UW_1)
|
||||
|
||||
Reference in New Issue
Block a user