Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2021 17:54:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253831] misc/mc More than 1 copy of mc application does not start in sysutils/screen
Message-ID:  <bug-253831-7788-gngtVT0c9J@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253831-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253831-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253831

--- Comment #24 from Cy Schubert <cy@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@support.od.ua can confirm.

At line 966 tmp_prompt gets the address of the prompt:

    char *tmp_prompt =3D (char *) mc_prompt;

Then here it's nuked:

#ifdef ENABLE_SUBSHELL
    if (mc_global.tty.use_subshell)
    {
        tmp_prompt =3D 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 b=
ug
in mc that upsteam must fix.

Not much else I can do.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253831-7788-gngtVT0c9J>