Remove Unixware and openserver support

This commit is contained in:
chase
2018-05-19 19:50:35 -05:00
committed by Jon Trulson
parent beea573d17
commit 07900bd93b
375 changed files with 725 additions and 9112 deletions

View File

@@ -67,11 +67,6 @@ static char rcs_id[] = "$TOG: TermParse.c /main/3 1999/10/15 12:25:13 mgreess $"
#include <values.h>
#endif
#if defined(USL)
#include <ctype.h>
#include <wctype.h>
#endif
/*****************************************************************************/
#define NPARAM 16

View File

@@ -102,10 +102,6 @@ LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
#endif
#ifdef USLArchitecture
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
#endif
#ifdef BSDArchitecture
LinkFile(TermPrimGetPty.c,TermPrimGetPty-bsd.c)
#endif

View File

@@ -44,7 +44,7 @@
#include <Xm/Xm.h>
#include <X11/Xos.h>
#if defined(linux) || (defined(USL) && (OSMAJORVERSION > 1)) || defined(CSRG_BASED)
#if defined(linux) || defined(CSRG_BASED)
#define _NFILE FOPEN_MAX
#endif

View File

@@ -201,17 +201,6 @@ sun_wcwidth
);
#endif /* USE_SUN_WCWIDTH_PATCH */
#ifdef USE_USL_WCWIDTH_PATCH
/*
** A small workaround for systems that don't have wcwidth...
*/
int
usl_wcwidth
(
const wchar_t wc
);
#endif /* USE_USL_WCWIDTH_PATCH */
/*
** Truncate the specified line to the desired width, return

View File

@@ -126,20 +126,6 @@ sun_wcwidth
}
#endif /* USE_SUN_WCWIDTH_PATCH */
#ifdef USE_USL_WCWIDTH_PATCH
/*
** A small workaround for systems that don't have wcwidth...
*/
int
usl_wcwidth
(
const wchar_t wc
)
{
return(1);
}
#endif /* USE_USL_WCWIDTH_PATCH */
short
_DtTermPrimBufferGetTextWc
(

View File

@@ -125,12 +125,5 @@
# define USE_TCSENDBREAK /* use tiocbreak() */
#endif /* IBM_ARCHITECTURE */
#ifdef USL_ARCHITECTURE
# define XOR_CAPS_LOCK /* xor caps lock and shift */
# define USE_STREAMS /* use streams */
# define USE_STREAMS_TTCOMPAT /* use ttcompat streams mod */
# define USE_TCSENDBREAK /* use tiocbreak() */
#endif /* USL_ARCHITECTURE */
#endif /* _Dt_TermPrimOSDepI_h */
/* DON'T ADD ANYTHING AFTER THIS #endif... */

View File

@@ -53,7 +53,7 @@ static char rcs_id[] = "$TOG: TermPrimSelect.c /main/6 1999/10/14 16:22:53 mgree
#include <Xm/DropSMgr.h>
#include <Xm/DropTrans.h>
#if defined(USL) || defined(OPENBSD_ARCHITECTURE)
#if defined(OPENBSD_ARCHITECTURE)
#include <ctype.h>
#include <wctype.h>
#endif

View File

@@ -390,14 +390,14 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
(void) strncpy(utPtr->ut_id, utmpLine,
sizeof(utPtr->ut_id));
#else /* __AIX || __osf__ */
#if defined(linux) || defined(sun) || defined(USL)
#if defined(linux) || defined(sun)
if (c = strchr(utmpLine, '/')) {
c++;
} else {
c = utmpLine;
}
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
#else /* linux || sun || USL */
#else /* linux || sun */
error out -- missing code for utPtr->ut_id
#endif /* sun */
#endif /* __AIX || __osf__ */