Files
@ r15899:3bbe04d427d2
Branch filter:
Location: cpp/openttd-patchpack/source/os/debian/patches/run-openttd-wrapper.patch - annotation
r15899:3bbe04d427d2
684 B
text/x-diff
(svn r20593) -Fix: (rlongago, r20547): long ago the service interval was int16, after which is got converted to Date except in the order backup. Much later I copied the savegame snippets from a vehicle and applied that on the order backup. Presto, reading/writing 32 bits (of Date) into 16 bits of ancient style service interval. That would then "spoil" the name pointer and that eventually crashes OpenTTD as it's likely to be an invalid pointer.
r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r15470:978daa48f04d r14954:41eb825176fe r15470:978daa48f04d r15470:978daa48f04d r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r14954:41eb825176fe r15470:978daa48f04d | From: Matthijs Kooijman <matthijs@stdin.nl>
Subject: Use a wrapper script for running openttd
The wrapper script captures stderr from openttd and displays this in
case of an error. This patch makes the the .desktop file call the
wrapper instead of the openttd binary directly.
Index: media/openttd.desktop.in
===================================================================
--- a/media/openttd.desktop.in (revision 20124)
+++ b/media/openttd.desktop.in (working copy)
@@ -5,7 +5,7 @@
Version=1.1
Name=!!MENU_NAME!!
Icon=openttd
-Exec=!!TTD!!
+Exec=/usr/share/games/openttd/openttd-wrapper
Terminal=false
Categories=!!MENU_GROUP!!
Comment=A clone of Transport Tycoon Deluxe
|