remove OSF1 support

This commit is contained in:
chase
2018-05-24 14:50:03 -05:00
committed by Jon Trulson
parent 3c1736f077
commit 164e695cd0
325 changed files with 290 additions and 9980 deletions

View File

@@ -35,7 +35,7 @@
#include "tt_options.h"
#include <errno.h>
#include <string.h>
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(sun)

View File

@@ -34,11 +34,7 @@
#include "tt_options.h"
#include <string.h>
#ifdef __osf__
#include <unistd.h>
#else
#include <osfcn.h>
#endif
#if defined(OPT_BUG_SUNOS_4)
# include <stdlib.h>
#endif

View File

@@ -35,7 +35,7 @@
#include "tt_options.h"
#include <errno.h>
#include <string.h>
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(sun)

View File

@@ -214,7 +214,7 @@ main(int argc, char** argv, char **envp)
void install_signal_handler();
SVCXPRT *transp;
struct sockaddr_in saddr;
#if defined(DEC) || defined(HPUX)
#if defined(HPUX)
int asize = sizeof(saddr);
#else
# if defined(linux) || defined(CSRG_BASED) || defined(sun)
@@ -484,11 +484,11 @@ main(int argc, char** argv, char **envp)
if (!_tt_debug_mode) {
if (0!=fork()) exit(0);
#if defined(__osf__) || defined(CSRG_BASED)
#if defined(CSRG_BASED)
setsid();
#else
setpgrp();
#endif // __osf__
#endif //CSRG_BASED
close(0); close(1); close(2);

View File

@@ -37,7 +37,7 @@
#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>
#if defined(__osf__) || defined(linux) || defined(sun) || defined(CSRG_BASED)
#if defined(linux) || defined(sun) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(sun)

View File

@@ -33,7 +33,7 @@
*/
#include <errno.h>
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#include <osfcn.h>

View File

@@ -32,11 +32,11 @@
*
*/
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#include <osfcn.h>
#endif /* __osf__ */
#endif
#include "api/c/tt_c.h"
#include "util/tt_iostream.h"
#include "tttar_utils.h"