Tíquete #44129

S3_0 legacysave.c nplayers check only when asserts enabled

: 2022-03-17 10:23 Última Atualização: 2022-03-18 23:42

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
2

Details

S3_0 legacysave.c checks consistency on player count from the savegame in an assert(). That's wrong as savegame is external data, that can be wrong even if the freeciv program is correct. The consistency should be checked also when asserts (for programs internal logic) are not enabled.

Ticket History (3/5 Histories)

2022-03-17 10:23 Updated by: cazfi
  • New Ticket "S3_0 legacysave.c nplayers check only when asserts enabled" created
2022-03-17 10:29 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
Comentário

Also S2_6 version attached, without introducing new translatable string.

2022-03-18 23:42 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login