diff options
author | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-31 06:07:34 +0000 |
---|---|---|
committer | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-31 06:07:34 +0000 |
commit | 9b6e91a32b620d4bd876108c2b9b62cd665208d1 (patch) | |
tree | c330704a4276360187a314d552d7014ed9b103b8 /CHANGES | |
parent | 38cc7a50e68f1b587f2ad0bb19578eeaf420c507 (diff) | |
download | libapr-9b6e91a32b620d4bd876108c2b9b62cd665208d1.tar.gz |
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.
Here's a new version of the get_offset patch that initializes
the TZ offset from apr_initialize. I've attached the new include
file that it uses, apr/include/arch/unix/internal_time.h
--
Justin added the missing call to apr_initialize in testtime.c so that
testtime works on Solaris and produces the "right" output.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz, Roy Fielding
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ Changes with APR b1 + *) Cache GMT offset on platforms that don't store it in the tm struct. + This offset is normalized to be independent of daylight savings + time. [Brian Pane <bpane@pacbell.net>] + *) Initial support for cygwin. [Stipe Tolj <tolj@wapme-systems.de>] *) Fix a problem with buffered files on Unix. [Brian Havard] |