URL: <http://gna.org/bugs/?23823>
Summary: user_home_dir() init = TRUE survives home_dir information loss Project: Freeciv Submitted by: cazfi Submitted on: Wed 26 Aug 2015 07:30:07 AM EEST Category: general Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.5.2, 2.6.0, 3.0.0 _______________________________________________________ Details: Even if free_user_home_dir() would have been called (it never is, in practice), user_home_dir() would think that "once initialized, always initialized". Attached fix gets rid of "init" variable completely, and instead checks directly if the home dir informatio is already available. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 26 Aug 2015 07:30:07 AM EEST Name: UserHomeDirInitSurviveNot.patch Size: 610B By: cazfi <http://gna.org/bugs/download.php?file_id=24987> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?23823> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev