#45841: Game saving calling make_dir("") Open Date: 2022-10-12 17:31 Last Update: 2022-10-12 17:31 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45841 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45841 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-10-12 17:31 Updated by: cazfi * New Ticket "Game saving calling make_dir("")" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.5 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Saving a game wants to ensure that the save directory exist by unconditionally calling make_dir() before trying to write the file. In the default case, saving to the current directory, that results in an attempt to create a directory with an empty name. Blocks #44940 -- 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/45841 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45841