Date: Mon, 27 Apr 2015 12:19:46 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384828 - in head/misc/mc: . files Message-ID: <201504271219.t3RCJk5Y023778@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Apr 27 12:19:45 2015 New Revision: 384828 URL: https://svnweb.freebsd.org/changeset/ports/384828 Log: Fix "Cannot create pipe streams" when running shell commands using the Filtered View menu item on the File menu. PR: 199366 Reported by: Trond.Endrestol@ximalas.info Patch by: Ben Woods (maintainer) Added: head/misc/mc/files/patch-lib_utilunix.c (contents, props changed) Modified: head/misc/mc/Makefile Modified: head/misc/mc/Makefile ============================================================================== --- head/misc/mc/Makefile Mon Apr 27 12:07:36 2015 (r384827) +++ head/misc/mc/Makefile Mon Apr 27 12:19:45 2015 (r384828) @@ -3,6 +3,7 @@ PORTNAME= mc PORTVERSION= 4.8.14 +PORTREVISION= 1 CATEGORIES= misc shells MASTER_SITES= http://ftp.midnight-commander.org/ \ http://ftp.osuosl.org/pub/midnightcommander/ \ Added: head/misc/mc/files/patch-lib_utilunix.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/mc/files/patch-lib_utilunix.c Mon Apr 27 12:19:45 2015 (r384828) @@ -0,0 +1,11 @@ +--- lib/utilunix.c.orig 2015-04-12 03:04:27 UTC ++++ lib/utilunix.c +@@ -528,7 +528,7 @@ mc_popen (const char *command, GError ** + goto ret_err; + } + +- if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, ++ if (!g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, + &p->child_pid, NULL, &p->out.fd, &p->err.fd, error)) + { + mc_replace_error (error, MC_PIPE_ERROR_CREATE_PIPE_STREAM, "%s",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504271219.t3RCJk5Y023778>