Branch: refs/heads/master Home: https://github.com/Warzone2100/warzone2100 Commit: 833686209b35f86557bf3053c93885d68fcf3c36 https://github.com/Warzone2100/warzone2100/commit/833686209b35f86557bf3053c93885d68fcf3c36 Author: past-due <30942300+past-...@users.noreply.github.com> Date: 2019-01-03 (Thu, 03 Jan 2019)
Changed paths: M src/console.h M src/display3d.cpp M src/droid.cpp M src/keybind.cpp M src/keymap.cpp M src/move.cpp M src/multibot.cpp M src/multigifts.cpp M src/multiint.cpp M src/oprint.cpp M src/research.cpp M src/scriptfuncs.cpp M src/selection.cpp M src/warcam.cpp Log Message: ----------- String formatting fixes - Simplify CONPRINTF (no need to pass ConsoleString twice). - Use `snprintf` to avoid format-overflow. Commit: b1d63b86fd6be7d904a291a48ef6a56a078e93b3 https://github.com/Warzone2100/warzone2100/commit/b1d63b86fd6be7d904a291a48ef6a56a078e93b3 Author: past-due <30942300+past-...@users.noreply.github.com> Date: 2019-01-03 (Thu, 03 Jan 2019) Changed paths: M src/mission.cpp Log Message: ----------- Replace `gmtime` with safer alternatives > The `gmtime` function fills data into a `tm struct` in shared memory and then > returns a pointer to that struct. If the function is called from multiple > places in the same program, and especially if it is called from multiple > threads in the same program, then the calls will overwrite each other's data. Compare: https://github.com/Warzone2100/warzone2100/compare/d991dc75b8e4...b1d63b86fd6b **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
_______________________________________________ Warzone2100-commits mailing list Warzone2100-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-commits