URL: <http://gna.org/patch/?4598>
Summary: Use luascript_do_file() when possible Project: Freeciv Submitted by: cazfi Submitted on: Tue 11 Mar 2014 03:30:05 AM EET Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.6.0 _______________________________________________________ Details: If script_server_do_file() gets passed NULL buffer, avoid using temporary buffer with luascript_do_string() by calling luascript_do_file() instead. This was inspired by bug #21780, but is not complete fix for it - even if this helps in the case where buffer is NULL, case where buffer is not NULL remains the same. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 11 Mar 2014 03:30:05 AM EET Name: LuaDoFilePrefered.patch Size: 2kB By: cazfi <http://gna.org/patch/download.php?file_id=20299> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4598> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev