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

@@ -130,23 +130,6 @@ init_time()
_Xltimeparams localtime_buf;
_Xgtimeparams gmtime_buf;
#ifdef __osf__
char *tzptr;
#endif
#ifdef __osf__
/* Fix for QAR 31607 */
if (getenv("TZ") == NULL){
tzset();
tzptr = malloc(strlen(tzname[0]) + strlen(tzname[1]) + 10);
sprintf (tzptr,"TZ=%s%d%s", tzname[0], timezone/3600, tzname[1]);
putenv(tzptr);
tzset();
}
else
tzset();
#endif
t = time(0);
tm = *_XLocaltime(&t, localtime_buf);
gm = *_XGmtime(&t, gmtime_buf);

View File

@@ -695,8 +695,7 @@ main(int argc, char **argv)
if (udp_transp == (SVCXPRT *)-1) {
udp_transp = svcudp_create(standalone ? RPC_ANYSOCK : 0
#if defined(_AIX) || defined(hpV4) || defined(__osf__) || defined(linux) || \
defined(CSRG_BASED)
#if defined(_AIX) || defined(hpV4) || defined(linux) || defined(CSRG_BASED)
);
#else
,0,0);