Commit ce0d3a46 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Port to SunOS 4.1.1_U1 which lacks rlim_t.

parent d8830c2e
2002-09-09 Per Cederqvist <ceder@ingate.com>
Port to SunOS 4.1.1_U1 which lacks rlim_t.
* configure.in: Check for rlim_t.
* src/server/ramkomd.c [!HAVE_RLIM_T]: typedef rlim_t to int.
No wonder locksuite.py failed: it wasn't distributed!
* src/server/testsuite/Makefile.am (EXTRA_DIST): Added
locksuite.py. Sorted the lines.
......@@ -50,8 +54,8 @@
Tweak types and add a few casts to get rid of several gcc warnings.
* src/server/splitkomdb.c (copy_file): Changed type of sz from int
to size_t to get rid of compiler warnings.
* src/server/simple-cache.c (init_cache): Replaced i with ic and
it to get rid of warnings when the wrong type was used.
* src/server/simple-cache.c (init_cache): Replaced "i" with "ic"
and "it" to get rid of warnings when the wrong type was used.
* src/server/ramkomd.c (initialize): Added casts to remove warnings.
* src/server/ram-parse.c (fparse_aux_item_link): Added cast to
remove warning.
......@@ -69,7 +73,7 @@
Conf_no. Added static qualifier.
(cache_sync_all): Replaced the local variable "i" with "ic" and
"it", for loops over conferences and texts.
(init_cache): Changed type of i to unsigned long. Changed type of
(init_cache): Changed type of "i" to unsigned long. Changed type of
motd_of_lyskom to Text_no.
* src/server/connections.h, src/server/connections.c
(num_fnc_defs): Change type to int.
......
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