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);
|
||||
|
||||
Reference in New Issue
Block a user