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

@@ -38,7 +38,7 @@
#include <time.h>
#include <ctype.h>
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(__linux__) || defined(CSRG_BASED)
#if defined(_AIX) || defined(sun) || defined(__linux__) || defined(CSRG_BASED)
#include <unistd.h>
#include <locale.h>
#include <fcntl.h>

View File

@@ -26,7 +26,7 @@
#include "userinc.h"
#include "globdec.h"
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
/* get definition of getenv(3c) for getting of environment variables */
#include <stdlib.h>
#endif
@@ -59,7 +59,7 @@ if (optfile = fopen(nameofoptfile, "r"))
}
m_free(nameofoptfile, "installation helptag.opt");
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
{
char *opts;
@@ -76,7 +76,7 @@ if (opts)
}
}
}
#endif /* hpux or _AIX or sun */
#endif /* _AIX or sun */
/* Check helptag.opt in input directory */
if (indir)

View File

@@ -43,7 +43,7 @@ void main(int argc, char **argv)
"prevcon=%d,token=%d,curcon=%d,scanval='%c'(%d),line=%d,netlevel=%d\n" ;
static char name[] = "m_name = '%s'\n" ;
static char literal[] = "m_literal = '%s'\n" ;
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
char buffer[M_LITLEN + 80] ;
#else
#define max4(a,b,c,d) (a>b&&a>c&&a>d) ? a : ((b>c&&b>d) ? b : (c>d ? c : d))

View File

@@ -54,7 +54,7 @@ void m_free(void *block, char *msg)
char buffer[32] ;
if (m_malftrace) {
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) block >> 16),
(unsigned int) block) ;
@@ -84,7 +84,7 @@ void *m_malloc(int size, char *msg)
m_exit(TRUE) ;
}
if (m_malftrace) {
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) p >> 16), (unsigned int) p) ;
#else
@@ -116,7 +116,7 @@ void *m_realloc(void *ptr, int size, char *msg)
m_exit(TRUE) ;
}
if (m_malftrace) {
#if defined(hpux) || defined(_AIX) || defined(sun)
#if defined(_AIX) || defined(sun)
snprintf(buffer, 32, "%5x:%5x",
(unsigned int) ((unsigned long) p >> 16), (unsigned int) p) ;
#else