Discontinue HPUX support
This commit is contained in:
@@ -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:
|
||||
/*
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user