Follow-up Comment #12, bug #15624 (project freeciv): A very similar version, but in "pure C". The 2.2+trunk version of the patch has an added compiler warning if the unsafe functions information is not updated for a new Lua version. The 2.1 patch does not have this, since Lua 5.0 doesn't define a numeric version symbol.
Ideally, our lua script runtime should be configured in lua. Two reasons for pure C: 1. It's what freeciv coders understand. 2. Tolua is regrettably not so conductive for doing this since, among other things, errors (explicit by asserts or unintentional ones too) are silently ignored in embedded code in api.pkg. (file #8638, file #8639) _______________________________________________________ Additional Item Attachment: File name: 0001-Make-impossible-to-access-operating-system-2_1.patch Size:2 KB File name: 0001-Make-impossible-to-access-operating-system-from-Lua-.patch Size:4 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?15624> _______________________________________________ Meddelandet skickades via/av Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev