#44212: user_home_dir() just discards $HOME on Windows Open Date: 2022-03-27 13:01 Last Update: 2022-03-27 13:16 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44212 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44212 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-03-27 13:16 Updated by: cazfi * Milestone Update from (None) to 3.0.2 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.2 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: user_home_dir() assigns 'env = getenv("HOME")', but on Window that's immediately followed by 'env = getenv("APPDATA")', i.e., it doesn't use value of $HOME for anything. Either it should consider the value, or not to get it at all. -- 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/44212 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44212