FreeBSD Bugzilla – Attachment 155497 Details for
Bug 199366
misc/mc 4.8.14 fails with "Cannot create pipe streams" when running shell commands using the Filtered View menu item on the File menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to misc/mc to use the PATH environment variable to search for the executable when running Filtered View
mc.patch (text/plain), 1.46 KB, created by
Ben Woods
on 2015-04-12 03:30:00 UTC
(
hide
)
Description:
Patch to misc/mc to use the PATH environment variable to search for the executable when running Filtered View
Filename:
MIME Type:
Creator:
Ben Woods
Created:
2015-04-12 03:30:00 UTC
Size:
1.46 KB
patch
obsolete
>Index: misc/mc/Makefile >=================================================================== >--- misc/mc/Makefile (revision 383559) >+++ misc/mc/Makefile (working copy) >@@ -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/ \ >Index: misc/mc/files/patch-lib_utilunix.c >=================================================================== >--- misc/mc/files/patch-lib_utilunix.c (revision 0) >+++ misc/mc/files/patch-lib_utilunix.c (working copy) >@@ -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", > >Property changes on: misc/mc/files/patch-lib_utilunix.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
woodsb02
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 199366
: 155497 |
155498