Репозитории ALT
S: | 13.0-alt1 |
5.1: | 1.0.2-alt0.M51.1 |
4.1: | 0.6.0-alt1 |
4.0: | 0.5.1-alt1.RC2 |
3.0: | 0.3.6-alt1 |
Группа :: Игры/Стратегия
Пакет: openttd
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openttd-0.3.5-alt-extmidi.patch
Скачать
Скачать
--- openttd/extmidi.c.orig 2004-11-11 20:17:52 +0300
+++ openttd/extmidi.c 2004-12-28 19:07:11 +0300
@@ -39,8 +39,13 @@
static void extmidi_play_song(const char *filename)
{
+ struct stat st;
+
extmidi_kill();
+ if (stat(filename, &st) < 0)
+ return;
+
_pid = fork();
if (_pid < 0) {
fprintf(stderr, "extmidi: couldn't fork: %s\n", strerror(errno));