Brian Pane <[EMAIL PROTECTED]> writes: > On platforms where neither HAVE_GMTOFF nor HAVE___OFFSET is defined, > like Solaris, the function "get_offset" in apr/time/unix/time.c is a > bottleneck in time formatting. > > On these platforms, get_offset ignores its argument; it really computes > the server's offset from GMT, normalized so that it's independent of > daylight savings. > > The following patch caches the offset after it's first computed, so > that we don't have to compute it repeatedly.
Would anybody besides me feel better if we had apr_initialize() call apr_unix_setup_time() to do this? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...