remove OSF1 support
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user