mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
From f12700aa37882c3ac2fcb37ae522cec6143ac584 Mon Sep 17 00:00:00 2001
|
|
From: Sergei Reznikov <diver@gelios.net>
|
|
Date: Sun, 26 Apr 2015 18:39:57 +0300
|
|
Subject: Haiku: comment out subprocess functions
|
|
|
|
|
|
diff --git a/osdep/subprocess.c b/osdep/subprocess.c
|
|
index 84a1b52..beed2d0 100644
|
|
--- a/osdep/subprocess.c
|
|
+++ b/osdep/subprocess.c
|
|
@@ -22,7 +22,7 @@
|
|
#include "common/msg_control.h"
|
|
|
|
#include "subprocess.h"
|
|
-
|
|
+/*
|
|
struct subprocess_args {
|
|
struct mp_log *log;
|
|
char **args;
|
|
@@ -55,3 +55,4 @@ void mp_subprocess_detached(struct mp_log *log, char **args)
|
|
if (pthread_create(&thread, NULL, run_subprocess, p))
|
|
talloc_free(p);
|
|
}
|
|
+*/
|
|
diff --git a/player/command.c b/player/command.c
|
|
index 3556986..d914848 100644
|
|
--- a/player/command.c
|
|
+++ b/player/command.c
|
|
@@ -4615,7 +4615,7 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
|
|
char *args[MP_CMD_MAX_ARGS + 1] = {0};
|
|
for (int n = 0; n < cmd->nargs; n++)
|
|
args[n] = cmd->args[n].v.s;
|
|
- mp_subprocess_detached(mpctx->log, args);
|
|
+// mp_subprocess_detached(mpctx->log, args);
|
|
break;
|
|
}
|
|
|
|
--
|
|
2.2.2
|
|
|