Tarantool development patches archive
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: tml <tarantool-patches@dev.tarantool.org>
Subject: [Tarantool-patches] [PATCH 1/2] popen: fix empty envp type for nonlinux builds
Date: Fri, 28 Feb 2020 12:48:14 +0300	[thread overview]
Message-ID: <20200228094815.13826-2-gorcunov@gmail.com> (raw)
In-Reply-To: <20200228094815.13826-1-gorcunov@gmail.com>

Fix for f58cb606a

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 src/lib/core/popen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/core/popen.c b/src/lib/core/popen.c
index 2f27b49a2..1cfe58ee0 100644
--- a/src/lib/core/popen.c
+++ b/src/lib/core/popen.c
@@ -612,7 +612,7 @@ get_envp(struct popen_opts *opts)
 		if (!said)
 			say_warn("popen: Environment inheritance "
 				 "unsupported, passing empty");
-		return (char *)empty_envp;
+		return (char **)empty_envp;
 #endif
 	}
 	return opts->env;
-- 
2.20.1

  reply	other threads:[~2020-02-28  9:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28  9:48 [Tarantool-patches] [PATCH 0/2] popen: fixes to make master branch happy Cyrill Gorcunov
2020-02-28  9:48 ` Cyrill Gorcunov [this message]
2020-02-28  9:48 ` [Tarantool-patches] [PATCH 2/2] Revert "test: unit/popen" Cyrill Gorcunov
2020-02-28 11:42 ` [Tarantool-patches] [PATCH 0/2] popen: fixes to make master branch happy Alexander Turenko
2020-02-28 11:55 ` Alexander Turenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200228094815.13826-2-gorcunov@gmail.com \
    --to=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 1/2] popen: fix empty envp type for nonlinux builds' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox