ChangeLog (after v0.5.3): ------------------------- v0.6.4 - Do not hardwire localedir in src/Makefile.am, spotted by Charles Clément. - A default rule set can be supplied in configuration file. - Fix possible segmentation fault if opponent in network play doesn't write anything (division by zero). - Don't be so harsh about people with low typing skills: Loser -> Beginner, ADP-Pro -> Learner - Status bar can be adjusted by locales. - Removed some probably offending words from words.eng. - Dropped min10 (cpm, i.e. cps * 60). - Replaced tcps with wpm, although it's just cps * 12. - Regine Müller spotted a serious typo in high score menu (de_DE). v0.6.3 - New menu translations: - fr_FR by Charles Clément and Sysyphe GEP - it by Lapo Luchini - Typos fixed in french word list, patch by Charles Clément. - autotools problems fixed on Cygwin, spotted by Lapo Luchini. - Zap the silly dependency of m4 I introduced with 0.6.1. - Properly reset terminal if it is too small, patch by Charles Clément. - Fixed possibility to enter name with a blank in front of it, spotted by vispi. - High score menu is not limited to top 10 anymore. - Fixed possible segfault if path names are too long (> MAXPATHLEN). - Windows code put into source (WIN32). - Wordlist/Ruleset menus can be left by pressing Escape. - All parameters supplied to typespeed not in getopt result in usage. - Major network code improvements/bugfixes: * closed file descriptor leakage in server code * multiple network games per running session possible * new function called gprint used in network code (better readable) * check return value of ioctl (non-blocking mode OK?) * you can abort while waiting for connections now * a player name can be specified * thin client support, i.e. retrieving word lists from a server * new option --netlog=file logs network traffic; for debugging * new network parameters for better comprehension by developer(s) :) * high score sharing is locale-safe now (1.234 vs. 1,234) * versions are compared in order to prevent version missmatches v0.6.2 - Used random seed will be actualy saved now. - You can feed typespeed with specified random seed. - Fixed bug introduced with 0.6.1: enter/space is no longer counted as typo if you have entered a correct word. - Do not let other persons flock high score file: this could result in a denial of service. - Smoothness takes "yes" and "no" as argument. - "No High Scores" will be translated, too. - File selection menu is useable with vi-like key strokes (j, k). - Removed implementation-defined C-code like: x[i++] = i; - Better testsuite framework support included. - Compilation of test suite on systems without gettext in libc has been fixed. - Translate title of default rule set if selected. - Fixed buffer underrun in parseline that occured if a line in configuration file (or game rule file) started with "=". - autotools improvements, spotted by Michael Sterrett: * handle --docdir properly * support for different high score dir (--with-highscoredir=DIR) - If working with strings, _always_ terminate with '\0' at end of buffer, no matter how obvious it is that string fits anyway. v0.6.1 - Added copy&paste cheat protection. - Added support for gettext. - SECURITY FIX: make sure privileges have been dropped. - Switched to autoconf and automake. - Typo spotted in french word list by David Jeannot. v0.6.0 - Fixed statistics in case typoratio is 100 %. - Do not allow empty names for high score. - typespeed forces use of a terminal for stdout/stderr/stdin now. - Game rules can be changed by user. - setgid() by default - drops privileges as soon as highscore file has been opened. - major change in highscores: * switch to csv format * only one highscore file for all wordlists * cannot reset highscores anymore * users can have their own highscore file - Use all available space on screen for words (position 0 not 1). - New testsuite design - wordlists are sorted alphabetically. - scandir replaced with opendir; readdir; closedir. No more annoying gcc warnings about that on different systems (like glibc based systems and bsd). - ISO-conform clear sequence (fixes warning), by Alessandro Massignan. - Fixed bug in function keys. - German words are OK for childrens now. - Two bad words removed from english word list. - Unified wordlist names for languages (iso 639) - New C# wordlists by Nicolai Stoy - Fixed bug in network code: resulted in an endless loop at end of the game.
12 lines
278 B
Text
12 lines
278 B
Text
$NetBSD: patch-ab,v 1.1 2008/02/12 18:22:03 h2m Exp $
|
|
|
|
--- src/network.c.orig 2007-11-29 22:40:09.000000000 +0100
|
|
+++ src/network.c
|
|
@@ -53,6 +53,7 @@
|
|
#include <ctype.h>
|
|
#include <curses.h>
|
|
#include <errno.h>
|
|
+#include <stdarg.h>
|
|
|
|
#ifdef HAVE_LIMITS_H
|
|
#include <limits.h>
|