Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Bug(?) while reading files. (PR#443)
Home

[Freeciv-Dev] Bug(?) while reading files. (PR#443)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Bug(?) while reading files. (PR#443)
From: Scott McMahan <smcmahan@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jul 2000 20:32:04 -0700 (PDT)

When I try to load a saved game (saved either automatically or with the
save 'filename' command), I get an error message like

1: Loading saved game: large.sav
1: Loading rulesets
1: Missing end of i18n string marking
1:   (file "data/default/buildings.ruleset", line 62, pos 17)
1:   looking at: 'Aqueduct")'
1:   original line: 'name        = _("Aqueduct")'
0: Did not find token: end_of_line
0: Did not find required token
0:   (file "data/default/buildings.ruleset", line 62, pos 17)
0:   looking at: 'Aqueduct")'
0:   original line: 'name        = _("Aqueduct")'

or

1: Loading saved game: civgame1.sav
1: Loading rulesets
1: Missing end of i18n string marking
1:   (file "data/default/terrain.ruleset", line 172, pos 26)
1:   looking at: 'Desert")'
1:   original line: 'terrain_name         = _("Desert")'
0: Did not find token: end_of_line
0: Did not find required token
0:   (file "data/default/terrain.ruleset", line 172, pos 26)
0:   looking at: 'Desert")'
0:   original line: 'terrain_name         = _("Desert")'

Can anyone tell me the problem?  My guess is that a malloc call isn't
finding enough memory to set up a big enough buffer, so a file read is
filling the buffer before reaching an \n.







[Prev in Thread] Current Thread [Next in Thread]