dd131a8504
under prefix/share, not inside /var/games. The later is now used for the score file, exclusively. Changes since 1.5.0 follow: 1.5.8 21-10-2002 - Options dialog now allows sounds for all supported game events to be set - BindAddress config variable added, to allow the server to be bound to a non-default IP address - BankInterest and DebtInterest variables added, to allow the configuration of interest rates (with thanks to Matt) - New "UTF8" ability added; if client and server share this ability, then all network messages will be sent in UTF-8 (Unicode) encoding (without the ability, all messages are assumed to be in your locale's default codeset, which may cause problems on non-US ASCII systems) - Names.Month and Names.Year have been replaced with StartDate.Day, StartDate.Month, StartDate.Year and Names.Date; these can be used to handle the date display properly after the turn number exceeds 31 - encoding and include config directives added, to allow the config file's encoding (usually taken from the locale) to be overridden, and to allow the inclusion of other config files - Spanish translation added by Quique - The Windows build of dopewars should now use Unicode throughout, on platforms with Unicode support (i.e. NT/2000/XP) - Under Windows XP, the "pretty" new common controls are now used - Sounds provided by Robin Kohli of www.19.5degs.com 1.5.7 25-06-2002 - Sound support; Windows multimedia, ESD and SDL outputs are supported; the individual modules can be statically linked in, or built as true "plugins" - Version mismatches between client and server are now treated more sensibly (it's all done server-side, and spurious warnings are now removed - only an old client connecting to a new server will trigger them) - Bug fix: when the buttons in the Fight dialog are not visible to a mouse user, previously you were able to access them via. the keyboard shortcuts; now fixed. - configure should now work properly if GLib 2.0 is installed but GTK2.0 is not - Norwegian Nynorsk translation added by Åsmund - If dopewars is run setuid/setgid, it will now only use this privilege to open the default (hard-coded) high score file; it will not open a user-specified high score file with privilege - It is no longer necessary to run "dopewars -C" on a zero-byte high score file; it will be converted automatically - A new server command "save" can be used to save the current configuration to a named config file 1.5.6 29-04-2002 - Bug fix: the server will only let you pay back loans or deal with the bank when you are at the correct location, and you can no longer "pay back" negative amounts of cash to the loan shark - Minor improvements to fighting code - The GTK+2 client should now run properly in non-UTF8 locales, and handle configuration files in both UTF8 and non-UTF8 locales - Unsafe list iteration in serverside code (which could possibly cause memory corruption) fixed - Another dumb PPC bug fixed - Incorrect LIBS generated by configure script in some circumstances (due to a GTK+/Glib bug) - now fixed - Everything should now build with autoconf-2.53 (if desired) 1.5.5 13-04-2002 - On fight termination the player is now allowed to close the "Fight" dialog before any new dialogs pop up - Bug caused by a "fight" interrupting a "deal" fixed - dopewars no longer crashes if you set e.g. NumGun = 0 - Incorrect handling of WM_CLOSE under Win32 fixed - Unix server now fails "gracefully" if it cannot create the Unix domain socket for admin connections - New ServerMOTD variable to welcome players to a server (with thanks to Mike Robinson) - GTK+ client should now work with GTK+2.0 1.5.4 03-03-2002 - Basic configuration file editor added to GTK+ client - Annoying flashing on closure of modal windows in Win32 fixed - Win32 client now uses "proper" dialog boxes (i.e. without a window menu) - Icon added for GTK+ client - Bug with withdrawing cash from the bank fixed - URL in GTK+ client "About" box is now clickable - Crash bugs when running on PPC systems fixed (with thanks to Zeke and Brian Campbell) 1.5.3 04-02-2002 - Text-mode server is now non-interactive by default (server admin can connect later with the -A option) - Windows server can now be run as an NT Service - Fatal bug when visiting the bank (under Win2000/XP) fixed - Windows installer should now upgrade old versions properly - Currency can now be configured with Currency.Symbol and Currency.Prefix - Windows client windows cannot now be made unreadably small - Bank/loan shark dialog now warns on entering negative prices - Default configuration is restored properly at the start of each game - Translations should now work with the Windows client - Documentation on the client-server protocol added - Windows graphical server can be minimized to the System Tray - Keyboard shortcuts for menu items in Windows client - Default buttons (ENTER -> "OK") for Windows client - RPM build/make install can now be run as non-superuser - Win32 install for current user/all users - Code cleanups 1.5.2 16-10-2001 - Slightly easier-to-use "run from fight" Jet dialog (avoids the crazy "windows pop up faster than you can close them" syndrome) - Support for HTTP proxies and authentication - SOCKS4 and SOCKS5 (user/password) support - French translation added by leonard - Boolean configuration variables (TRUE/FALSE) now supported - Many code cleanups - High score files now have a "proper" header, so that file(1) can identify them, and so the -f option cannot be used to force setgid-games dopewars to overwrite random files writeable by group "games" - use the -C option to convert old high score files to the new format - GNU long command line options now accepted on platforms with getopt_long - Simple installer now in place for Win32 systems 1.5.1 19-06-2001 - Improved logging in server via. LogLevel and LogTimestamp variables - Metaserver (both client and server) moved to SourceForge - Icons (courtesy of Ocelot Mantis) and GNOME desktop entry added Approved by wiz.
12 lines
307 B
Text
12 lines
307 B
Text
$NetBSD: patch-ad,v 1.3 2002/12/06 16:50:04 jmmv Exp $
|
|
|
|
--- src/serverside.c.orig Mon Oct 21 13:08:52 2002
|
|
+++ src/serverside.c
|
|
@@ -27,6 +27,7 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <sys/types.h> /* For size_t etc. */
|
|
+#include <sys/socket.h>
|
|
#include <sys/stat.h>
|
|
|
|
#ifdef CYGWIN
|