[Bug 253831] misc/mc More than 1 copy of mc application does not start in sysutils/screen
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 25 17:54:08 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253831
--- Comment #24 from Cy Schubert <cy at FreeBSD.org> ---
This is for woodsb02:
In frame 4 at layout.c just above line 976 ENABLE_SUBSHELL appears it might be
enabled. I don't have config.h to view, admin at support.od.ua can confirm.
At line 966 tmp_prompt gets the address of the prompt:
char *tmp_prompt = (char *) mc_prompt;
Then here it's nuked:
#ifdef ENABLE_SUBSHELL
if (mc_global.tty.use_subshell)
{
tmp_prompt = g_string_free (subshell_prompt, FALSE);
(void) strip_ctrl_codes (tmp_prompt);
}
#endif
At this point tmp_prompt is a NULL pointer because subshell_prompt is also a
NULL pointer. I don't see where subshell_prompt is set anywhere. Likely a bug
in mc that upsteam must fix.
Not much else I can do.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list