[6523] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Microsoft Visual C++ 1.51

daemon@ATHENA.MIT.EDU (Howard Chu)
Tue Jan 23 22:53:34 1996

To: kerberos@MIT.EDU
Date: 23 Jan 1996 19:15:09 -0800
From: hyc@troy.la.locus.com (Howard Chu)

In article <gkzwRrO00WCh4CXUZ8@andrew.cmu.edu>,
Gregory M. Diskin <diskin+@andrew.cmu.edu> wrote:
>>I am in the process of getting ready to build an application that will use
>>kerberos.   I will be using  MSVC++ v1.51 to build for the Windows 3.11, Win
>>95, Win/NT, and the MAC.   

>>Has anyone built the librarys using this compliler?  Do you have any build
>>instructions as well?

Another note that I just remembered, rather annoying at that. You will need
to set the TZ variable before you start Windows, unless you happen to live
in the Pacific time zone. This is really only important if you want your
ticket expiration times to look reasonable when converted from time_t-format
to a broken-out time. Also, if you set your TZ variable incorrectly (e.g.,
leave off the hours-from-UCT-offset) you will get a divide-by-zero exception
the first time any library function calls an MSVC time function. (This will
most likely be from mktime or ftime; mktime is called by win_time_get_epoch
and such.) There is no convenient workaround for this, you just have to make
sure your TZ variable is correct. (Or bitch at Microsoft about the supreme
quality of their development tools...)
-- 
Howard Chu				Principal Member of Technical Staff
hyc@locus.com				Locus Computing Corporation

home help back first fref pref prev next nref lref last post