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

@@ -92,9 +92,6 @@
#define __VA_START__(p,a) va_start(p)
#endif
#endif
#ifdef __osf__
#include <machine/machlimits.h>
#endif
#include "defs.h"
#include "variables.h"
#include <error.h>

View File

@@ -275,7 +275,6 @@ skip2:
}
else if(!(n=sh.fdstatus[fd]))
n = sh_iocheckfd(fd);
#ifndef __osf__
if(!(n&IOWRITE))
{
/* don't print error message for stdout for compatibility */
@@ -283,7 +282,6 @@ skip2:
return(1);
error(ERROR_system(1),msg);
}
#endif
if(!(outfile=sh.sftable[fd]))
{
Sfdisc_t *dp;

View File

@@ -106,7 +106,7 @@
# undef _lib_setreuid
#endif /* _lib_setregid */
#if defined(_lib_setreuid) && ! defined(_AIX) && ! defined(__osf__)
#if defined(_lib_setreuid) && !defined(_AIX)
extern __MANGLE__ int setreuid __PROTO__((uid_t,uid_t));
extern __MANGLE__ int setregid __PROTO__((uid_t,uid_t));
#endif /* _lib_setreuid */

View File

@@ -96,9 +96,6 @@
#include <sfio.h>
#include <error.h>
#include <shell.h>
#ifdef __osf__
#include <sys/resource.h>
#endif
#include "builtins.h"
#include "ulimit.h"