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