Unix Technical Forum

Odd DST Problem

This is a discussion on Odd DST Problem within the Sco Unix forums, part of the Unix Operating Systems category; --> "Bela Lubkin" <filbo@armory.com> wrote in message news:200703261557.aa22645@deepthought.armory.com.. . > John DuBois wrote: > >> In article <5ywMh.417$f56.2@bgtnsc05-news.ops.worldnet.att.net>, >> Richard ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-16-2008, 03:56 AM
Richard
 
Posts: n/a
Default Re: Odd DST Problem (solved)

"Bela Lubkin" <filbo@armory.com> wrote in message
news:200703261557.aa22645@deepthought.armory.com.. .
> John DuBois wrote:
>
>> In article <5ywMh.417$f56.2@bgtnsc05-news.ops.worldnet.att.net>,
>> Richard <aapex@att.net> wrote:
>> >"Steve M. Fabac, Jr." <smfabac@att.net> wrote in message
>> >news:46014B54.6FF1A9A@att.net...
>> >> Richard,
>> >>
>> >> What fix have you developed to overcome this problem?
>> >>
>> >> As a guess, I would add an explicit line in the called shell script
>> >> that reads the TZ value from /etc/TIMEZONE to overwrite the FoxBASE
>> >> exported value.
>> >
>> >Steve,
>> >
>> >Yes, that's exactly what I did. I cannot find any indication in the
>> >documentation of why it would change the TZ format.

>>
>> The exec system call converts the TZ value to XENIX format
>> when exec'ing a XENIX binary.

>
> Is that documented anywhere? (both the fact that it does; and what is
> meant by "XENIX format" of a TZ value vs. OSR5's "modern" ancient
> format?)
>
> I vaguely remember when this was implemented...
>
> Anyway, shouldn't the exec() system call from a XENIX binary, when
> invoking a UNIX binary, mangle $TZ in the opposite direction?
>
>>Bela<


One would think so, but it doesn't. Displaying the TZ variable within the
called script shows the "XENIX" format, and running just the "date" binary
confirms the behavior. This, of course, was never a problem when TZ was in
the simple "CST5CDT" format. Software geriatrics certainly presents some
interesting problems.

--
Richard Seeder


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com