Discontinue HPUX support

This commit is contained in:
Chase
2022-07-22 21:42:06 -05:00
committed by Jon Trulson
parent bd83b53d56
commit edf4319548
235 changed files with 198 additions and 6290 deletions

View File

@@ -73,14 +73,6 @@
*/
#define COMMAND_CHECK_FAILURE 1
#ifdef __hpux
#ifdef hpV4
#define INETD_SECURITY_FILE "/var/adm/inetd.sec"
#else /* hpV4 */
#define INETD_SECURITY_FILE "/usr/adm/inetd.sec"
#endif /* hpV4 */
#endif /* __hpux */
#define Cmd_FreeAllocatedStringVector(sv) \
_DtCmdFreeStringVector(sv);\
XtFree((char *)sv);
@@ -337,24 +329,11 @@ _DtSPCOpen(
SPC_BUFSIZ);
break;
case SPC_Connection_EOF:
#ifdef __hpux
(void) sprintf (errorMessage,
errorInetSecurity,
hostname,
_cmdClientHost,
SPC_SERVICE,
_cmdClientHost,
SPC_SERVICE,
INETD_SECURITY_FILE,
hostname);
#else /* __hpux */
(void) sprintf (errorMessage,
errorBadConnect,
hostname,
SPC_SERVICE,
_cmdClientHost);
#endif /* __hpux */
break;
default:
/*

View File

@@ -45,10 +45,6 @@
#include <limits.h>
#endif
#if defined(__hpux)
#include <sys/getaccess.h>
#endif
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>

View File

@@ -49,18 +49,12 @@
#include <stdio.h>
#include <sys/types.h>
#ifdef __hpux
#include <ndir.h>
#else
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif /* sun || CSRD_BASED */
#endif /* __hpux */
#include <ctype.h>
#include <string.h>

View File

@@ -54,12 +54,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#if defined (__hpux)
/*
* On HP MAXINT is defined in both <values.h> and <sys/param.h>
*/
#undef MAXINT
#elif defined(CSRG_BASED)
#if defined(CSRG_BASED)
#define MAXINT INT_MAX
#else
#include <values.h>

View File

@@ -47,18 +47,12 @@
#include <stdio.h>
#include <sys/types.h>
#ifdef __hpux
#include <ndir.h>
#else
#if defined(sun) || defined(CSRG_BASED)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif /* sun || CSRG_BASED */
#endif /* __hpux */
#include <ctype.h>
#include <string.h>