Messages in this thread | | | Subject | Re: Time?? | Date | Fri, 08 Jan 1999 12:40:01 -0500 | From | Theo Van Dinter <> |
| |
| echo "<$TZ>" yielded <>, and the latter still didn't fix it =( this is | also on a redhat box as well as the Debian one.. something is broken some | where.
I think the problem is the timezone file itself (tested on RH 5.2):
> setenv TZ US/Eastern > ./foo tzname 0: EST tzname 1: EDT > setenv TZ US/Central > ./foo tzname 0: EST tzname 1: CDT > setenv TZ US/Pacific > ./foo tzname 0: PST tzname 1: PDT
foo.c: ---------------------------- #include <time.h>
main(){ tzset(); printf("tzname 0: %s\n",tzname[0]); printf("tzname 1: %s\n",tzname[1]); } ----------------------------
... looks like someone was copying files around and forgot to update a byte.
-- Randomly Generated Tagline: "But the pusher don't care / If u live or u die"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |