Re: Fwd: msvcrt: Implement _get_tzname.

2010-11-04 Thread Dmitry Timoshkov
Eryk Wieliczko wrote: > http://msdn.microsoft.com/en-us/library/4ssfs1ya.aspx > > _get_tzname should simply copy the contents of _tzname. In my opinion > it should be ok. > According to this document it's the default value. In my Polish XP > it's also "PST" and "PDT", which is of course irracion

Fwd: msvcrt: Implement _get_tzname.

2010-11-04 Thread Eryk Wieliczko
http://msdn.microsoft.com/en-us/library/4ssfs1ya.aspx _get_tzname should simply copy the contents of _tzname. In my opinion it should be ok. According to this document it's the default value. In my Polish XP it's also "PST" and "PDT", which is of course irracional ( Poland is in Europe ). So I wo

Re: msvcrt: Implement _get_tzname.

2010-11-03 Thread Dmitry Timoshkov
Eryk Wieliczko wrote: > -static char tzname_std[64] = ""; > -static char tzname_dst[64] = ""; > +static char tzname_std[64] = "PST"; > +static char tzname_dst[64] = "PDT"; > char *MSVCRT__tzname[2] = { tzname_std, tzname_dst }; ... This is not an implementation, this is a quick and dirty hack.