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