[Freeciv-Dev] [PATCH] Buglet in server/savegame.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I just spotted the following while going through some of Jason's
recent changes (though the bug is not Jason's).
strchr() has a misfeature in that if the character you are looking for
is 0, then it will return a pointer to the string's terminating NUL.
This causes us to do wrong things in the savegame loading code.
As an aside, I believe that PR 974 may be related to this bug, but I
do not have time to investigate.
terrain_chars_fix.diff
Description: Text document
--
Big Gaute http://www.srcf.ucam.org/~gs234/
If this is the DATING GAME I want to know your FAVORITE PLANET! Do I
get th' MICROWAVE MOPED?
- [Freeciv-Dev] [PATCH] Buglet in server/savegame.c,
Gaute B Strokkenes <=
|
|