From: syd@dsi.com (Syd Weinstein)
Subject: Is alpha the only OSF/1 broken for this?
Date: 13 Aug 1993 17:19:10 -0400 [thread overview]
Message-ID: <24h0ge$dhv@dsinc.dsi.com> (raw)
I've come across a problem with DEC's alpha OSF/1 using the
following simple test program:
#include <stdio.h>
#include <time.h>
main()
{
time_t t;
struct tm *tm;
#ifdef DO_TZSET
tzset();
#endif
(void) time(&t);
tm = localtime(&t);
printf("tm->tm_gmtoff = %ld\n", (long)tm->tm_gmtoff/60);
printf("tm->tm_zone = %s\n", tm->tm_zone);
exit(0);
}
It should return the number of minutes off gmt, and the
name of the TZ. Under DEC's OSF/1, I get the tz_zone fine,
but the tm-gmtoff is garbage.
--
========================================================================
Sydney S. Weinstein, CDP, CCP Elm Coordinator - Current 2.4PL22
Datacomp Systems, Inc. Projected 3.0 Release: ??? ?,1994
syd@DSI.COM or dsinc!syd Voice: (215) 947-9900, FAX: (215) 938-0235
next reply other threads:[~1993-08-13 21:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-13 21:19 Syd Weinstein [this message]
1993-08-17 18:52 ` Is alpha the only OSF/1 broken for this? Rick Murphy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox