#45709: req_copy() nor copying "present" field Open Date: 2022-09-24 22:43 Last Update: 2022-09-24 22:43 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45709 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45709 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-24 22:43 Updated by: cazfi * New Ticket "req_copy() nor copying "present" field" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: req_copy() does not copy "present" field. The consequence in current codebase is that the barbarian unit tech requirement on World range is checked with uninitialized "present" - when built on higher compiler optimization levels, those requirement check results are sometimes flipped. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45709 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45709