File 0853-erlexec-Fix-path-problem-with-epmd-startup-on-Window.patch of Package erlang

From 4153df7358557f69ff76c2f54970487cb9d13b64 Mon Sep 17 00:00:00 2001
From: Shinichiro Kanno <shinichiro.kanno.fk@hitachi.com>
Date: Tue, 18 Feb 2020 10:28:04 +0100
Subject: [PATCH] erlexec: Fix path problem with epmd startup on Windows

---
 erts/etc/common/erlexec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index b6bb0f4925..8f6095ef17 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -1240,7 +1240,7 @@ start_epmd(char *epmd)
     if (!epmd) {
 	epmd = epmd_cmd;
 #ifdef __WIN32__
-	erts_snprintf(epmd_cmd, sizeof(epmd_cmd), "%s" DIRSEP "epmd", bindir);
+	erts_snprintf(epmd_cmd, sizeof(epmd_cmd), "\"%s" DIRSEP "epmd\"", bindir);
 	arg1 = "-daemon";
 #else
 	erts_snprintf(epmd_cmd, sizeof(epmd_cmd), "\"%s" DIRSEP "epmd\" -daemon", bindir);
-- 
2.16.4

openSUSE Build Service is sponsored by