Commit 5bd1ecf3 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Send and receive times in UTC, if the clients requests it. (Bug 957).

Installation fixes.
parent 7ec8c5fa
2003-08-16 Per Cederqvist <ceder@ceder.dyndns.org>
Send and receive times in UTC, if the clients requests it.
(Bug 957).
* doc/Protocol-A.texi (set-connection-time-format): New request.
* src/include/services.h (set_connection_time_format): New
request.
* src/server/connections.h (Connection): Added use_utc.
* src/server/fncdef.txt: Added set_connection_time_format.
* src/server/text.c (get_last_text): Handle use_utc.
* src/server/session.c (set_connection_time_format): New
function.
* src/server/prot-a-output.c (prot_a_output_time): Handle use_utc.
* src/server/internal-connections.c (init_connection): Initialize
use_utc.
(new_client): Ditto.
* src/server/prot-a-parse.c (prot_a_parse_misc_info): This code
used to convert the broken-down time to a time_t using mktime().
The value was never used. Instead of introducing a portability
problem using by calling timelocal(), we now simply store a 0 in
the time field of rec_time and sent_at misc-infos.
* src/server/testsuite/lyskomd.0/01.exp: Test
set_connection_time_format.
* src/server/testsuite/lyskomd.0/03.exp: Ditto.
Installation fixes.
* README: Fixed minor error in upgrade instructions.
* run-support/Makefile.am (install-data-local): Create var/run,
which will hold the pid file.
New async: async-text-aux-changed. (Bug 910).
* doc/Protocol-A.texi (Client-Specific Aux-Item Types): Reserve
10200-10299 for private test use. Refer to Bugzilla.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment