URL:
http://savannah.gnu.org/bugs/?18136
Summary: MC wont work with new bash-3.2 propeply with all
directories.
Project: GNU Midnight Commander
Submitted by: krix
Submitted on: Saturday 10/28/2006 at 12:22
Category:
Hi,There ispatchtomc-4.6.1 attached.This patch addssupportofhighlightingoccurencesinmcedit. Iguessitisfarfrombeingok.Neverthelessifcouldhavealookandtellme what to fix in it. Beyond that maybe you have some coding guidelines or something like that?
--Sincerely yours,Max
Follow-up Comment #3, bug #17874 (project mc):
I absolutelly don't know why mc passes here NULL.
Are there ways to make mc behave better in this respect? If not please close
invalid.
___
Reply to this item at:
Hi,
If I understand the comments in the code only bash 2.05b has a problem
with 4 number octals. Indeed a test with bash-3.0 confirms this. Since
only alphas (not numbers) are not being escaped there are no problems
with directories with names like a_0 for 2.05b bash = 3.2.
Anyway, instead of
Hi Christian,
On Sat, 2006-10-28 at 10:22 +, Christian Hamar wrote:
I just upgraded to bash-3.2 and now mc gives me error that Cannot change
directory to XY.. .
http://www.mail-archive.com/bug-bash@gnu.org/msg02150.html
Fix needs to be made to subshell_name_quote() in the (subshell_type
Hi,
On Sat, 2006-10-28 at 15:30 +0200, Leonard den Ottolander wrote:
Anyway, instead of testing for bash = 3.2 inside the bash loop we can
suffice by adding a version check for bash 2.05b to the shell type
test.
A quick and dirty hack for users of bash = 3.2 would be to just get rid
of the
Follow-up Comment #4, bug #17874 (project mc):
The only way I know is to fix liblow.c. After my fix, I have never seen a
crash again.
May be that it could be somehow caused by mc - creating terminal, but I don't
know internals.
___
Reply
Update of bug #17874 (project mc):
Status:None = Invalid
Open/Closed:Open = Closed
___
Reply to this item at:
Attached patch implements this. This is not a proposition for a final
solution, just a temporary hack for users of bash = 3.2.
Do not use with versions of bash = 2.05b!
Thx for the patch. It works with 3.2 (tested)
If you can ride with BASH_VERSINFO then maybe this can be go to CVS.
And